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
It is questionable how much of a bug this is because both of these failures should be rejected at the semantic level since \X and \times are built-ins; however, a straightforward reading of the TLA+ syntax grammar shows these should be accepted at the syntax level at least. Both of these test inputs will fail:
---- MODULETest ----
x\Xy==0x\timesy==0
====
---- MODULETest ----
op(_\X_,_\times_)==TRUE
====
This bug can fall under the category of "low priority" or possibly even be kicked up to the language standard level to decide to what extent Cartesian products should be treated as regular infix operators for syntax parsing purposes.
It is questionable how much of a bug this is because both of these failures should be rejected at the semantic level since
\X
and\times
are built-ins; however, a straightforward reading of the TLA+ syntax grammar shows these should be accepted at the syntax level at least. Both of these test inputs will fail:This bug can fall under the category of "low priority" or possibly even be kicked up to the language standard level to decide to what extent Cartesian products should be treated as regular infix operators for syntax parsing purposes.
Ref #159
The text was updated successfully, but these errors were encountered: