We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Constructor names containing underscores aren't parsed correctly in SPT files.
Defining a constructor such as
Start.Hello_World = <Hello world>
And a test such a
test hello [[ Hello world ]] parse to Hello_World()
The test should pass
The test fails with the error "Expected parse to (), but got Hello_World()"
The SPT file does evaluate, but "Show parsed AST" does not produce an AST.
The text was updated successfully, but these errors were encountered:
Solved by metaborg/spt@a5253d1
Sorry, something went wrong.
No branches or pull requests
Summary
Constructor names containing underscores aren't parsed correctly in SPT files.
What you did
Defining a constructor such as
And a test such a
What you expected to happen
The test should pass
What actually happened
The test fails with the error "Expected parse to (), but got Hello_World()"
Context
Additional information
The SPT file does evaluate, but "Show parsed AST" does not produce an AST.
The text was updated successfully, but these errors were encountered: