[perl #71462] [BUG] Smartmatching against a type yields an Int, not a Bool in Rakudo

2010-12-27 Thread Carl Mäsak via RT
On Sat Jun 26 11:43:15 2010, pmichaud wrote: Now fixed in a579f8e. Closing ticket. Pm masonkramer How do I see if a thing does Callable? masak rakudo: sub foo {}; say foo ~~ Callable p6eval rakudo cae7f9: OUTPUT«1␤» masak rakudo: sub foo {}; say foo.^does(Callable) p6eval rakudo cae7f9:

[perl #71462] [BUG] Smartmatching against a type yields an Int, not a Bool in Rakudo

2010-06-26 Thread Patrick R. Michaud via RT
Now fixed in a579f8e. Closing ticket. Pm

[perl #71462] [BUG] Smartmatching against a type yields an Int, not a Bool in Rakudo

2009-12-21 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #71462] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=71462 masak rakudo: say (* ~~ Whatever).WHAT p6eval rakudo 8dc189: Int()␤ masak Int!? masak