The `Evaluate Constant _expression_? section?s evaluation failed.
In applying the function
[m \in Nat, n \in Nat |-> <_expression_ line 4, col 32 to line 4, col 36 of module Calc>],
the argument list is:
1
which does not match its formal parameter.
If I replace r == h[1,2] with r == e[1,2], everything works.
-------------------------------- MODULE Calc --------------------------------
EXTENDS Naturals
e == [m \in Nat, n \in Nat |-> m + n]
h == [e EXCEPT ![1][2] = 0]
r == h[1,2]
=============================================================================