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


<masak> so what does `done` actually do outside of a `supply` block?
<jnthn> masak: Nothing, just as "last" doesn't do anything outside of a loop
<PerlJam> masak: throws a CONTROL_DONE
<masak> m: last
<camelia> rakudo-moar 643eb6: OUTPUT«last without loop construct [...]
<jnthn> Well, yeah, it whines you used it in the wrong place
<masak> jnthn: at least it warns.
<masak> `done` does nothing.
<jnthn> m: done
<camelia> rakudo-moar 643eb6: ( no output )
<jnthn> Hm
<jnthn> m: emit 1;
<camelia> rakudo-moar 643eb6: ( no output )
<jnthn> Wonder why that gets dropped
<jnthn> It *is* throwing a control exception
<masak> anyway, it seems you agree with me it should do something ;)
<jnthn> Aye
* masak submits rakudobug

Reply via email to