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


<masak> m: module M { enum A is export <B C> }; import M; say B
<camelia> rakudo-moar 315ec6: OUTPUT«===SORRY!=== Error while
compiling /tmp/lblTGtdIWs␤Undeclared name:␤    B used [...]
<masak> is this right? I thought exporting A would export B and C, too.
<FROGGS> m: module M { enum A is export <B C> }; import M; say M::B
<camelia> rakudo-moar 315ec6: OUTPUT«B␤»
* masak submits enum export rakudobug

I would expect that if A is exported (as above), B and C would be
exported with it. That seems not to be the case right now.

Reply via email to