Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use unknown trait 'is export' in a regex declaration #6377

Closed
p6rt opened this issue Jul 5, 2017 · 5 comments
Closed

Can't use unknown trait 'is export' in a regex declaration #6377

p6rt opened this issue Jul 5, 2017 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Jul 5, 2017

Migrated from rt.perl.org#131704 (status was 'resolved')

Searchable as RT131704$

@p6rt
Copy link
Author

p6rt commented Jul 5, 2017

From @LLFourn

perl6 -e 'constant $foo is export = /foo/;'

&is-export seems to be being called on the regex rather than the variable??

@p6rt
Copy link
Author

p6rt commented Jul 6, 2017

From @coke

On Tue, 04 Jul 2017 22​:27​:14 -0700, lloyd.fourn@​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 "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jul 6, 2017

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jul 6, 2017

From @zoffixznet

On Tue, 04 Jul 2017 22​:27​:14 -0700, lloyd.fourn@​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​: rakudo/rakudo@488abd8c8987555
Test​: Raku/roast@2f1759760c1c32146

@p6rt p6rt closed this as completed Jul 6, 2017
@p6rt
Copy link
Author

p6rt commented Jul 6, 2017

@zoffixznet - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant