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
XSTS-cli ignores certain syntactical errors if the lexer can construct something meaningful out of the input model.
Example input:
var x : integer = 0
trans {
choice {
assume (x == 2);
} else {
x := 10;
}
}
init {}
env {}
prop {
x != 0
}
Expected outcome: Theta fails since else can't come after 'choice'
Actual outcome: Theta outputs the syntax errors, and continues by "covering" the 'else' branch.
Theta version:
docker 6.5.2
XSTS-cli ignores certain syntactical errors if the lexer can construct something meaningful out of the input model.
Example input:
Expected outcome: Theta fails since
else
can't come after 'choice'Actual outcome: Theta outputs the syntax errors, and continues by "covering" the 'else' branch.
stderr:
stdout:
CEX:
Return code:
0
Proposed solution:
Theta should throw an exception if there are any syntactical errors.
The text was updated successfully, but these errors were encountered: