On Sat Jun 13 14:37:03 2015, ronaldxs wrote:
> On Sat May 11 13:48:34 2013, FROGGS.de wrote:
> > TimToady: yes, comparisons should return failure, not automatically
> > thrown an exception.
> 
> It throws an appropriate exception now.  I think if a qualified person
> looked at this ticket they could close it.
> 
> Ron

Note that the sample code needs to be formatted thusly:

> my Int $x; if $x <=0 { say 'cmp OK' }
Invocant requires a 'Int' instance, but a type object was passed.  Did you 
forget a .new?

This seems to jibe with expectations. Added tests to S03-operators/misc.t .... 
but a nearly identical test for Str doesn't fail the same way. Test todo'd, 
needs some work.
-- 
Will "Coke" Coleda

Reply via email to