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

After expression is parsed, extraneous characters are ignored and don't produce errors #48

Open
NoxHarmonium opened this issue Jul 18, 2022 · 0 comments

Comments

@NoxHarmonium
Copy link
Owner

This parses correctly without an error, even though the trailing braces are invalid.

let javaString = import "java.lang.String": {
  "noargs": "should BE lower CASE".toUpperCase().toLowerCase()
}}}}}}

I think because the parser only parses a single expression and then stops. Probably needs an explicit check for trailing characters after the root expression is parsed

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