Segmentation fault on accessing fields of tagged unions #18518
Labels
backend-llvm
The LLVM backend outputs an LLVM IR Module.
bug
Observed behavior contradicts documented or intended behavior
frontend
Tokenization, parsing, AstGen, Sema, and Liveness.
Milestone
Zig Version
0.12.0-dev.2127+fcc0c5ddc
Steps to Reproduce and Observed Behavior
Gives:
System: MacOS Monterey, 12.0.1, Apple M1
Expected Behavior
Using
@compilerLog(Union.Foo)
instead, gives:The text was updated successfully, but these errors were encountered: