We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think this might be a bug
set of int: X = {1,3,5} diff (2..5 union 1..0); set of int: Y = {1,3,5} diff (2..5 union {}); output show([X,Y]);
Playground.mzn:2.42-43: MiniZinc: type error: ambiguous overloading on return type of function
On playground
Both on edge and latest (2.8.7)
The text was updated successfully, but these errors were encountered:
This variant works on Playground:
set of int: emptySet = {}; set of int: X = {1,3,5} diff (2..5 union 1..0); set of int: Y = {1,3,5} diff (2..5 union emptySet); output show([X,Y]);
I doubt that 1..0 should be digested as empty set without warning.
1..0
Sorry, something went wrong.
No branches or pull requests
I think this might be a bug
On playground
Both on edge and latest (2.8.7)
The text was updated successfully, but these errors were encountered: