Closed konnov closed 1 month ago
Hey! This is already fixed in the latest version (>= 0.22.0). This is what I get:
quint run ../local/test.qnt --invariant=inv
/home/gabriela/projects/quint/local/test.qnt:14:18 - error: [QNT507] Called 'get' with a non-existing key. Key is 0. Map has keys: 1
14: action inv = myMap.get(0) == 0
^^^^^^^^^^^^
error: Runtime error
It looks like the new version of the simulator reports obvious out-of-bounds errors quite suboptimally.
Here is my spec:
Here is how I run the simulator:
This is the message by
quint run
:I would rather expect a trace that explains the error.