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
This is probably more to do with the opt set - these are currently not really supported (they happen to work sometimes by coincidence, but there seem to be many places where they don't).
We'll have a look at whether it's possible to make this work, or otherwise make the type checker give a proper error for opt sets.
Aha. Yeah, I've been a bit curious about why it was possible to have an opt set but not an opt array[_].
I see int the spec that option types may be
Allowed Insts. The argument of an option type must be one of the base types bool, int or float.
Sounds like we're using something that's not officially supported, and working by accident.
Am I understand that correctly?
As a user, I would add that option types that include sets, arrays parameters etc. would be useful in the language as it allows for introducing parameters which are backwards compatible.
The following model:
fails with
The text was updated successfully, but these errors were encountered: