Closed JoshuaManton closed 5 years ago
Could you try again with the latest commit?
Tried, still crashing
Latest commit as of this comment, it doesn't crash but prints this:
Foo{}
Which is clearly wrong.
Interestingly fmt.println(foo.bar)
works as expected:
Bar{asd = asd};
EDIT: Do raw union members not have a supported fmt representation? If that's the case then the bug is resolved as far as I can tell
https://github.com/odin-lang/Odin/blob/master/core/fmt/fmt.odin#L926
I think we have a winner folks 🎉
👍 case closed then
Context
Fix bugs: Array Literals with constant elements; IR printing of raw procedure types
Current Behavior
Odin compiler stack overflows with a
struct #raw_union
containing another struct, it seemsFailure Information
The stack bounces between:
and
Steps to Reproduce
Run
odin build .
on: