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
The text was updated successfully, but these errors were encountered:
ivan-gavran
changed the title
An index out of range bug when combining oneOf and setOfMaps
An index out of range error when combining oneOf and setOfMapsOct 15, 2024
Consider the following simple model:
When running the simulator
quint run --max-samples=1 --max-steps=1 problem.qnt
, a runtime error occurs:There are two curious things here:
Y
to be a singleton set, the problem disappears. (MakingX
orZ
singleton has no effect.)allPossibleVals
is evaluated first (in the REPL) and the provided as a constant to the model, the problem disappears.Concretely:
The text was updated successfully, but these errors were encountered: