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: const_ptr_pointee_unchecked_no_isf. #7019
Labels
Milestone
Comments
The crash is caused by this line:
|
You want this instead: |
Damn, I should have seen that. Thanks. |
LemonBoy
added a commit
to LemonBoy/zig
that referenced
this issue
Nov 7, 2020
The code rightfully assumes the union_val object to be fully initialized. Closes ziglang#7019
LemonBoy
added a commit
to LemonBoy/zig
that referenced
this issue
Nov 8, 2020
Alternative fix for ziglang#7019, perhaps a bit cleaner and more in line with how the other types are handled.
andrewrk
added
bug
Observed behavior contradicts documented or intended behavior
stage1
The process of building from source via WebAssembly and the C backend.
labels
Nov 11, 2020
LemonBoy
added a commit
to LemonBoy/zig
that referenced
this issue
Nov 17, 2020
The code rightfully assumes the union_val object to be fully initialized. Closes ziglang#7019
LemonBoy
added a commit
to LemonBoy/zig
that referenced
this issue
Nov 17, 2020
The code rightfully assumes the union_val object to be fully initialized. Closes ziglang#7019
Vexu
pushed a commit
that referenced
this issue
Nov 18, 2020
The code rightfully assumes the union_val object to be fully initialized. Closes #7019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
using Zig version
0.6.0+5430642fa
I'm getting the following crash:with this code (it's a little long sorry, I was unable to make a shorter reproducer):
The text was updated successfully, but these errors were encountered: