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
Compiler should not crash. This code has error which should be reported by the compiler. Basically, it seems it forgets to check allowed types of items provided for array initialization; maybe this has something to do with "using", because as soon as I remove it, compiler see each struct as separate type and correctly tells error. My view is:
Current Behavior
Compiler ends with Segmentation fault error code
Also tested on macOS (it prints an assertion failed check)
Context
odin report
output:Expected Behavior
Compiler should not crash. This code has error which should be reported by the compiler. Basically, it seems it forgets to check allowed types of items provided for array initialization; maybe this has something to do with "using", because as soon as I remove it, compiler see each struct as separate type and correctly tells error. My view is:
Current Behavior
Compiler ends with Segmentation fault error code
Also tested on macOS (it prints an assertion failed check)
Failure Information (for bugs)
Steps to Reproduce
The following code reproduces the issue:
The text was updated successfully, but these errors were encountered: