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
When they are defined as Constants it doesnt crash.
Failure Logs
LLVM Error:
Global variable initializer type does not match global variable type!
ptr @graphics.WIDE_ZERO
Global variable initializer type does not match global variable type!
ptr @graphics.WIDE_ONE
Global variable initializer type does not match global variable type!
ptr @graphics.WIDE_TWO
Global variable initializer type does not match global variable type!
ptr @graphics.WIDE_THREE
The text was updated successfully, but these errors were encountered:
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Odin: dev-2024-09:8814170ed
OS: Windows 10 Home Basic (version: 22H2), build 19045.4780
CPU: AMD Ryzen 5 3600 6-Core Processor
RAM: 16310 MiB
Backend: LLVM 18.1.8
Expected Behavior
Compile as expected - Globals should behave like locals
Current Behavior
Causes the compiler to crash
Steps to Reproduce
When they are defined as
Constants
it doesnt crash.Failure Logs
The text was updated successfully, but these errors were encountered: