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
Declaring two local variables with the same name inside a transition causes both to appear in the trace output.
Example code:
choice {
local var a: integer = 1;
x := x + a;
}
choice {
local var a: integer = 2;
x := x + a;
}
Resulting trace:
(XstsState post_init last_internal
(ExplState
(x 3)
(a 1)
(a 2)))
(XstsState post_init last_env
(ExplState
(x 3)
(a 1)
(a 2)))
(XstsState post_init last_internal
(ExplState
(x 6)
(a 1)
(a 2))))
The text was updated successfully, but these errors were encountered:
Declaring two local variables with the same name inside a transition causes both to appear in the trace output.
Example code:
Resulting trace:
The text was updated successfully, but these errors were encountered: