[perl #131704] Can't use unknown trait 'is export' in a regex declaration

2017-07-06 Thread Zoffix Znet via RT
On Tue, 04 Jul 2017 22:27:14 -0700, lloyd.fo...@gmail.com wrote: > perl6 -e 'constant $foo is export = /foo/;' > > &is-export seems to be being called on the regex rather than the variable?? Thank you for the report. LLFourn++ fixed the issue. Fix: https://github.com/rakudo/rakudo/commit/488ab

[perl #131704] Can't use unknown trait 'is export' in a regex declaration

2017-07-06 Thread Zoffix Znet via RT
On Tue, 04 Jul 2017 22:27:14 -0700, lloyd.fo...@gmail.com wrote: > perl6 -e 'constant $foo is export = /foo/;' > > &is-export seems to be being called on the regex rather than the variable?? Thank you for the report. LLFourn++ fixed the issue. Fix: https://github.com/rakudo/rakudo/commit/488ab

[perl #131704] Can't use unknown trait 'is export' in a regex declaration

2017-07-05 Thread Will Coleda via RT
On Tue, 04 Jul 2017 22:27:14 -0700, lloyd.fo...@gmail.com wrote: > perl6 -e 'constant $foo is export = /foo/;' > > &is-export seems to be being called on the regex rather than the variable?? Please include: perl6 version; the result of the command, and the expected result. Thanks. -- Will "Cok

[perl #131704] Can't use unknown trait 'is export' in a regex declaration

2017-07-05 Thread Will Coleda via RT
On Tue, 04 Jul 2017 22:27:14 -0700, lloyd.fo...@gmail.com wrote: > perl6 -e 'constant $foo is export = /foo/;' > > &is-export seems to be being called on the regex rather than the variable?? Please include: perl6 version; the result of the command, and the expected result. Thanks. -- Will "Cok

[perl #131704] Can't use unknown trait 'is export' in a regex declaration

2017-07-04 Thread via RT
# New Ticket Created by Lloyd Fournier # Please include the string: [perl #131704] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131704 > perl6 -e 'constant $foo is export = /foo/;' &is-export seems to be being called on the