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
For me, it's just for ergonomics, but yeah, I guess it could be abused pretty hard. If it's not allowed, my suggestion is to clarify it in the error message.
Context
odin report
output:Expected Behavior
You should be able to pass a struct with a
using
polymorphic member to a function that can take it.Current Behavior
Odin can't determine the type.
main.odin(23:8) Error: Cannot determine polymorphic type from parameter: '^Wrapper' to '^Array($T)'
Steps to Reproduce
The text was updated successfully, but these errors were encountered: