Closed tadeohepperle closed 4 days ago
Odin: dev-2024-06:9f8b84c21
OS: Windows 10 Professional (version: 22H2), build 19045.4529
CPU: AMD Ryzen 9 5950X 16-Core Processor
RAM: 65444 MiB
Backend: LLVM 17.0.1
Confirmed the first one. Second doesn't raise a compiler error and the print
statement prints nil
.
Can't replicate the 2nd bug on Linux (same Odin commit) with the LLVM 18.1.3 backend either.
I fixed example 1 but not 2, and I need to redo this.
Context
Behavior
Putting a union into another union, causes compiler crashes:
Example 1:
Output:
Example 2 (similar error):
Output: