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
Only one error describing you aren't able to switch directly on a type
Current Behavior
D:/Programming/odin_ols_testing/main.odin(17:2) Error: Unhandled switch case: a Suggestion: Was '#partial switch' wanted?
D:/Programming/odin_ols_testing/main.odin(17:9) Error: 'Enum' is not an expression but a type
switch Enum {
^~~^
The text was updated successfully, but these errors were encountered:
dozn
changed the title
Wrong Error When Switching on enum Directly
Additional Wrong Error When Switching on enum Type Directly
Oct 14, 2024
dozn
changed the title
Additional Wrong Error When Switching on enum Type Directly
Additional Incorrect Error When Switching on enum Type Directly
Oct 14, 2024
Context
Odin: dev-2024-10:7989d512a
OS: Windows 11 Professional (version: 23H2), build 22631.4317
CPU: AMD Ryzen 7 3700X 8-Core Processor
RAM: 65489 MiB
Backend: LLVM 18.1.8
Expected Behavior
Only one error describing you aren't able to switch directly on a type
Current Behavior
The text was updated successfully, but these errors were encountered: