# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #77626]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=77626 >


<ash_> rakudo: say :10(:16<10>)
<p6eval> rakudo dc9900: OUTPUT«16␤»
<ash_> rakudo: say :2(:16<10>)
<p6eval> rakudo dc9900: OUTPUT«DON'T PANIC! Invalid character (6)!
Please try again :) [...]
<masak> could probably do better than that error message.
<pmichaud> agreed.
<TimToady> stringifying without evaluating?
<pmichaud> with evaluating, in this case
<TimToady> oh, yes
<TimToady> with
<pmichaud> since :16<10>  is '16'
<TimToady> 16 has a 6, duh

My preferred error message would be something on the order of "The
number contains a 6 but you're interpreting it as a base-2 number."

Reply via email to