-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Segmentation fault when returning var #829
Comments
this is #447 but I'll leave this open, at least I can make it print a compile error instead of segfaulting. |
andrewrk
added
the
bug
Observed behavior contradicts documented or intended behavior
label
Mar 13, 2018
This is still crashing in some cases First case: gives compile error (good)
Output:
Second case: crashes with message
Output:
Third case: crashes with no message
Output:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Minimal example:
For context, specifying the return value explicitly works:
The text was updated successfully, but these errors were encountered: