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


<masak> rakudo: say ~(my $a)
<p6eval> rakudo db0f85: OUTPUT«Any()␤»
<masak> moritz_: were you saying this should generate a warning?
<moritz_> masak: I think so... the specs are rather quiet on warnings
* masak submits rakudobug
<masak> Justin Case.
<moritz_> rakudo: say +(my $a)
<p6eval> rakudo db0f85: OUTPUT«Use of type object as value in numeric
context [...]
* moritz_ tries to remove that error altogether
<masak> I think it'd merit a warning, but not an error.
<moritz_> the current implementation tries to be very clever
<moritz_> it does a FAIL()
<moritz_> but the coercion to Int on the failure object immediatly
throws the exception that's supposed to remain unthrown for now

Reply via email to