On Tue, 25 Oct 2016 08:22:19 -0700, tbrowder wrote:
> > 2. Enable multiple export tags to better organize export categories.
>
> Disregard, this is possible now.
Well, mostly. Note you still cannot export different values for the same symbol
based on a tag (i.e. without sub EXPORT)
$ perl6 -e 'unit module foo; my class A { my class A is export(:foo1) { }; };
my class B { my class A is export(:foo2) { } }'
===SORRY!=== Error while compiling -e
A symbol 'A' has already been exported
at -e:1
$ perl6 -e 'module foo { my class A { my class A is export(:foo1) { }; }; };
module bar { my class B { my class A is export(:foo2) { } }};'
===SORRY!=== Error while compiling -e
A symbol 'A' has already been exported
at -e:1