Open leuschel opened 1 month ago
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.