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

Missing comma in parens leads to cryptic compiler error #5049

Closed
p6rt opened this issue Jan 14, 2016 · 3 comments
Closed

Missing comma in parens leads to cryptic compiler error #5049

p6rt opened this issue Jan 14, 2016 · 3 comments
Labels
LTA Less Than Awesome; typically an error message that could be better

Comments

@p6rt
Copy link

p6rt commented Jan 14, 2016

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

Searchable as RT127267$

@p6rt
Copy link
Author

p6rt commented Jan 14, 2016

From @zostay

A missing comma in a parenthetical hash, such as might be found in an enum
declaration like this​:

enum Side ( :Left<left> :Right<right> );

Leads to a cryptic message containing "words" like "QAST" and "NQPMu"
without useful line numbers or even a file name. This problem is very easy
to reproduce​:

% perl6

(​:A<a> :B<b>)
Unknown QAST node type NQPMu

Cheers.
--
Sterling Hanenkamp
http://sterling.hanenkamp.com/stfl/
785-370-4454

@p6rt
Copy link
Author

p6rt commented Jun 26, 2019

From @AlexDaniel

Seems to be fixed in rakudo/rakudo@9135914

@p6rt
Copy link
Author

p6rt commented Jun 26, 2019

@AlexDaniel - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Jun 26, 2019
@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