-
Notifications
You must be signed in to change notification settings - Fork 23
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
Require main to always return unit #551
Conversation
This breaks We could potentially use a mutable reference in JS to sidechannel the result and compare it this way for testing purposes. |
This is truly also relevant to |
There are some more tests that fail now. However, the most interesting one is the |
I saw this coming :^), #541 introduces The problem is that it's not exactly great for how we use stdlib tests right now in the compiler — |
In the LLVM backend, we experienced problems with boxing of the result of main. Here, we require that
main
always returnsUnit
and check this.Related to #541