# New Ticket Created by  Paweł Pabian 
# Please include the string:  [perl #77044]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=77044 >


[16:02] <bbkr> rakudo: (+"1").WHAT.say # is that a bug? IMO should be Int
[16:02] <p6eval> rakudo 0e5edb: OUTPUT«Num()␤»
[16:08] <PerlJam> bbkr: How is perl to know?
[16:11] <bbkr> PerlJam: probably same as "say 0.0" prints "0" - Num can be 
narrowed to Int
[16:13] <PerlJam> bbkr: but, it does look like a bug.  From the spec regarding 
prefix:<+> ... "For values that do not already do the C<Numeric> role, the 
narrowest appropriate type of C<Int>, C<Rat>, C<Num>, or C<Complex> will be 
returned"

Reply via email to