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

CQL parser NullPointerException: library 'Bug' #736

Open
pherk opened this issue Apr 5, 2022 · 1 comment
Open

CQL parser NullPointerException: library 'Bug' #736

pherk opened this issue Apr 5, 2022 · 1 comment
Labels
Milestone

Comments

@pherk
Copy link

pherk commented Apr 5, 2022

cql-to-elm:
a library keyword followed by single quoted identifier (STRING) results in a NullPointerException

library 'Bug'

should give an error.
maybe related to #726

@brynrhodes brynrhodes added the bug label Apr 14, 2022
@brynrhodes brynrhodes added this to the Maintenance milestone Apr 14, 2022
@brynrhodes
Copy link
Member

This should give a better error message, marking this as a bug for resolution. The 'Bug' is a string literal, not an identifier, so it is invalid syntax, but a NullPointerException is definitely not the right behavior.

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

No branches or pull requests

2 participants