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
If one has not enabled the callOperator experimental, an attempt to define a () callable will crash the compiler.
callOperator
()
proc `()` = discard
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
Some kind of error message.
Nimskull Compiler Version 0.1.0-dev.21250 [linux: amd64] Source hash: 924dcaf0ae0285a93ca084c05837a75dcec34278 Source date: 2024-03-05 active boot switches: -d:release -d:danger⏎
The text was updated successfully, but these errors were encountered:
Thanks for the report, I touched this bit of code last-ish and I'm pretty sure I know what the issue is, I can fix it.
Sorry, something went wrong.
saem
No branches or pull requests
Specification
If one has not enabled the
callOperator
experimental, an attempt to define a()
callable will crash the compiler.Example
Actual Output
Expected Output
Some kind of error message.
Additional Information
The text was updated successfully, but these errors were encountered: