-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
compiler crash when using call builtin #135
Comments
I think I know, what could cause it? void = call(workFunc) technically, the correct syntax for ignoring a return value from a single return value function is this: void call(workFunc)
But that's just my thesis. |
Yup, that fixes it. That's a fine workaround for me! (I'm used to that syntax.) |
I'll let you ( @irmen ) decide whether to keep this open to handle that or just close it. |
yeah, let desertfish see it, so he can add a proper error message |
With -target virtual, it also crashes, but with a different error Exception in thread "main" java.lang.IllegalArgumentException: node prog8.code.ast.PtFunctionCall@ccd1bc3 name is not scoped: call |
Minimal reproduction:
related compiler crash:
|
The following PR exhibits the issue. When building the target repo with this PR:
The text was updated successfully, but these errors were encountered: