Closed jist99 closed 4 days ago
Operating System & Odin Version:
Please paste odin report output:
odin report
Odin: dev-2024-05:7dc1f114b OS: macOS Sonoma 14.4.1 (build: 23F79, kernel: 23.4.0) CPU: Apple M1 RAM: 16384 MiB Backend: LLVM 14.0.6
When I define a self-referencing union the odin compiler should properly create the union or give an appropriate error.
The odin compiler segfaults
package main
FL_Item :: union($T: typeid) { T, ^FL_Item(T) }
main :: proc() {}
2. run `odin build filename.odin -file` ### Failure Logs N/A
Hits this assert in checker.cpp.
Context
Operating System & Odin Version:
Please paste
odin report
output:Expected Behavior
When I define a self-referencing union the odin compiler should properly create the union or give an appropriate error.
Current Behavior
The odin compiler segfaults
Failure Information (for bugs)
Steps to Reproduce
FL_Item :: union($T: typeid) { T, ^FL_Item(T) }
main :: proc() {}