On Thu Jun 28 14:04:34 2012, sirrob...@gmail.com wrote:
> From #perl6:
> 
> 16:53 < moritz> r: module A { enum Day is export <Mon Tue>; sub Day is
> export { 'sub Day' } }; import A; say Day(0);
> 16:53 <+p6eval> rakudo 39087a: OUTPUT«Mon␤»
> 
> 
> In my opinion, priority should go to the sub, for what it's worth.
> 
Larry ruled that it should go to the enum, as it already does:

http://irclog.perlgeek.de/perl6/2015-11-26#i_11605891

Tests for this added to S02-names-vars/names.t.

Reply via email to