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
Unfortunately MiniZinc doesn't currently support opt set types.
In this case the comprehension iterates over a var set, and gets transformed into an array of opt under the hood - but since the comprehension returns {1} it tries to create a var opt set which is not supported.
Of course, this shouldn't crash with a segfault, so we'll have to fix the type checker to properly disallow the var opt set declaration, and the var comprehension with the set inside. In the future, we may have a look at trying to add support for opt sets so that this would be allowed.
Hi, here's a repro:
The text was updated successfully, but these errors were encountered: