You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Odin: dev-2022-01:2b918ada
The compiler flag check will not produce the compiler assertion. You need to use build (or run).
Current Behavior
u: union {}
switch t in u {
case:
}
Odin\src\llvm_backend_general.cpp(1139): Assertion Failure: type_size_of(ut) > 0
Possibly related #1105 (also includes the question if empty unions should be allowed or not)
Expected Behavior
Compilation without problems.
The text was updated successfully, but these errors were encountered:
I am marking this issue as stale as it has not received any engagement from the community or maintainers 120 days. That does not imply that the issue has no merit! If you feel strongly about this issue
open a PR referencing and resolving the issue;
leave a comment on it and discuss ideas how you could contribute towards resolving it;
leave a comment and describe in detail why this issue is critical for your use case;
open a new issue with updated details and a plan on resolving the issue.
The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone..
Context
Odin:
dev-2022-01:2b918ada
The compiler flag
check
will not produce the compiler assertion. You need to usebuild
(orrun
).Current Behavior
Odin\src\llvm_backend_general.cpp(1139): Assertion Failure: type_size_of(ut) > 0
Possibly related #1105 (also includes the question if empty unions should be allowed or not)
Expected Behavior
Compilation without problems.
The text was updated successfully, but these errors were encountered: