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

forgetting "token" next to a rule with a dot in it gives confusing error #5268

Open
p6rt opened this issue Apr 27, 2016 · 1 comment
Open
Labels
LTA Less Than Awesome; typically an error message that could be better

Comments

@p6rt
Copy link

p6rt commented Apr 27, 2016

Migrated from rt.perl.org#128003 (status was 'new')

Searchable as RT128003$

@p6rt
Copy link
Author

p6rt commented Apr 27, 2016

From @zoffixznet

Not sure if there's any way to improve this, but I've spent some time on this error, looking at the wrong place. The issue is not the dot, nor concatenation, but the missing "token" keyword before TOP​:

<ZoffixWin> m​: grammar { TOP { . } }
<camelia> rakudo-moar ce5dc0​: OUTPUT«===SORRY!=== Error while compiling /tmp/jikmv2xskv␤Unsupported use of . to concatenate strings; in Perl 6 please use ~␤at /tmp/jikmv2xskv​:1␤------> grammar { TOP { . ⏏} }␤»

@p6rt p6rt added the LTA Less Than Awesome; typically an error message that could be better label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTA Less Than Awesome; typically an error message that could be better
Projects
None yet
Development

No branches or pull requests

1 participant