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
leading to the error Operation identifier 'Choose_policy' (local from MC) already declared at (local from MC)
Also note that the operations seem to have no position information in the generated AST.
show position information
don't create an AST with two operations having the same name
The text was updated successfully, but these errors were encountered:
The position information should now be available, both in Tcl/Tk and in ProB2-UI and including the correct file path. The position information of TLA2B was not available in ProB2 because the PositionPrinter in the RecursiveMachineLoader was not set correctly.
If a TLA+ next state uses a definition twice, then TLA2B will create an AST with two operations having the same name, leading to errors when type checking the AST.
An example which exhibits is here: public_examples/TLA/pilot-tla/pilot/MC.tla
taken from
https://github.com/raulpardo/pilot-tla/blob/master/pilot.toolbox/pilot_correctness/pilot.tla
where we have
leading to the error
Operation identifier 'Choose_policy' (local from MC) already declared at (local from MC)
Also note that the operations seem to have no position information in the generated AST.
The text was updated successfully, but these errors were encountered: