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
I'm currently making set of custom bindings of the popular library FreeType2 and as I was porting its types to more odin-friendly structures I've stumbled upon a compiler bug
Should ideally work as the values can be bit-wise converted and are known at compile time. But a proper compiler error is also acceptable. Originally I tried using a transmute but that caused a compiler message about the value not being constant.
Current Behavior
The compiler panics
Failure Information (for bugs)
Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.
Context
I'm currently making set of custom bindings of the popular library FreeType2 and as I was porting its types to more odin-friendly structures I've stumbled upon a compiler bug
Expected Behavior
Should ideally work as the values can be bit-wise converted and are known at compile time. But a proper compiler error is also acceptable. Originally I tried using a
transmute
but that caused a compiler message about the value not being constant.Current Behavior
The compiler panics
Failure Information (for bugs)
Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.
Steps to Reproduce
Failure Logs
Edit: I copied the older version of the code, the update one still presents the same problem though.
The text was updated successfully, but these errors were encountered: