We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try to load the file below. It contains a syntax error (== instead of = in the problem statement), but the error message produced by KeY is bad:
==
=
line 1:1 mismatched input '5' expecting {<EOF>, '\sorts', '\schemaVariables', '\programVariables', '\include', '\includeLDTs', '\classpath', '\bootclasspath', '\javaSource', '\withOptions', '\optionsDecl', '\settings', '\profile', '\heuristicsDecl', '\predicates', '\functions', '\datatypes', '\transformers', '\rules', '\axioms', '\problem', '\chooseContract', '\proofObligation', '\proof', '\contracts', '\invariants', '/*!'}
The issue occurs because the stream is not reset to the start of the file after trying the parsing process again in non-SLL mode.
testing.key:
\functions { int b; } \problem { (\exists int c; c == 5 && c < b) & (\exists int c; c = 7 && c > b) -> b == 6 }
always
Expected behaviour: reasonable error message Actual behaviour: stupid error message (see above)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Try to load the file below. It contains a syntax error (
==
instead of=
in the problem statement), but the error message produced by KeY is bad:line 1:1 mismatched input '5' expecting {<EOF>, '\sorts', '\schemaVariables', '\programVariables', '\include', '\includeLDTs', '\classpath', '\bootclasspath', '\javaSource', '\withOptions', '\optionsDecl', '\settings', '\profile', '\heuristicsDecl', '\predicates', '\functions', '\datatypes', '\transformers', '\rules', '\axioms', '\problem', '\chooseContract', '\proofObligation', '\proof', '\contracts', '\invariants', '/*!'}
The issue occurs because the stream is not reset to the start of the file after trying the parsing process again in non-SLL mode.
testing.key:
Reproducible
always
Steps to reproduce
Expected behaviour: reasonable error message
Actual behaviour: stupid error message (see above)
Additional information
The text was updated successfully, but these errors were encountered: