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


<cognome> r:   enum < un >; say un
<camelia> rakudo-moar 0c42c1: OUTPUT«===SORRY!=== Error while
compiling /tmp/tmpfile␤Undeclared routine:␤    un used [...]
<jnthn> cognome: anonymous enum doesn't install symbols
<cognome> r:   enum E < un >; say un
<camelia> rakudo-{parrot,jvm,moar} 0c42c1: OUTPUT«un␤»
<masak> m: enum :: <un>
<camelia> rakudo-moar 0c42c1: OUTPUT«===SORRY!===␤MVMArray: Can't pop
from an empty array␤»
* masak submits rakudobug

I see nothing wrong with declaring an 'enum ::' like that. (Though in
sink context it'd be a bit meaningless, I guess.) Anyway, shouldn't
give an internal error like that.

Reply via email to