Fixed in 754664ed54aea24f9c9162002b6e68aadd311412.
On Wed, 08 Oct 2014 05:20:07 -0700, timo wrote: > compare: > > > perl6-m -e 'enum Bug ("foo" => -1, "A", "B"); say +A; say +B;' > > 1 > > 2 > > and: > > > perl6-m -e 'enum Bug (foo => -1, "A", "B"); say +A; say +B;' > > 0 > > 1 > > and see also: > > > perl6-m -e 'enum Bug ("foo" => -1, "A", "B"); say foo' > > ===SORRY!=== Error while compiling -e > > Undeclared routine: > > foo used at line 1 > > vs > > > perl6-m -e 'enum Bug (foo => -1, "A", "B"); say foo' > > foo > > I think this should at least warn or die, not silently drop an element > from the list. > > This bit me in my Cairo binding, as it requires an enum to start at -1 > and i accidentally quoted the LHS of the initial pair.