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
Here is the input which SANY should fail on but instead accepts:
----MODULE Test ----op==\Ax\in{}:A!B!lbl(x):: x
====
The A!B! should be disallowed at the parser level. The semantic level doesn't catch this because it (reasonably) assumes nobody would ever add a subexpression prefix there. Here is the parser trace:
****** SANY2 Version 2.2 created 08 July 2020
Parsing file /home/ahelwer/src/tlaplus/java-tools/tlatools/org.lamport.tlatools/Test.tla
Beginning Module definition
Beginning Begin module
Ending Begin module
Beginning Extends
Ending Extends
Beginning Module body
Beginning Definition
Beginning Identifier LHS
Ending Identifier LHS
Beginning Expression
Beginning Quantified form
Beginning Quant Bound
Beginning Expression
Beginning ExtendableExpr
Beginning Some { } form
Ending Some { } form
Ending ExtendableExpr
Ending Expression
Ending Quant Bound
Beginning Expression
Beginning ExtendableExpr
Beginning Primitive expression
Beginning Bang Extension
Ending Bang Extension
Beginning Bang Extension
Beginning Optional Arguments
Beginning Expression
Beginning ExtendableExpr
Beginning Primitive expression
Ending Primitive expression
Ending ExtendableExpr
Ending Expression
Ending Optional Arguments
Ending Bang Extension
Ending Primitive expression
Beginning Expression
Beginning ExtendableExpr
Beginning Primitive expression
Ending Primitive expression
Ending ExtendableExpr
Ending Expression
Ending ExtendableExpr
Ending Expression
Ending Quantified form
Ending Expression
Ending Definition
Ending Module body
Ending Module definition
Semantic processing of module Test
SANY correctly rejects this behavior when the label does not take parameters; this fails:
----MODULE Test ----op==A!B!lbl :: TRUE
====
Bug discovered during the course of working on #882.
The text was updated successfully, but these errors were encountered:
lemmy
added
bug
error, glitch, fault, flaw, ...
Tools
The command line tools - TLC, SANY, ...
SANY
Issues involving SANY's analysis
labels
Mar 7, 2024
Here is the input which SANY should fail on but instead accepts:
The
A!B!
should be disallowed at the parser level. The semantic level doesn't catch this because it (reasonably) assumes nobody would ever add a subexpression prefix there. Here is the parser trace:SANY correctly rejects this behavior when the label does not take parameters; this fails:
Bug discovered during the course of working on #882.
The text was updated successfully, but these errors were encountered: