-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
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
Fix #3524 #3525
Conversation
Qodana Community for JVMIt seems all right 👌 No new problems were found according to the checks applied 💡 Qodana analysis was run in the pull request mode: only the changed files were checked View the detailed Qodana reportTo be able to view the detailed Qodana report, you can either:
To get - name: 'Qodana Scan'
uses: JetBrains/[email protected]
with:
upload-result: true Contact Qodana teamContact us at [email protected]
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that the fix requires a larger change on the loop rule. There seem to be new "_Before" variables now. But ... are there not already _Before-Variables available on the sequent?
key.core/src/main/java/de/uka/ilkd/key/rule/conditions/NewLocalVarsCondition.java
Outdated
Show resolved
Hide resolved
key.core/src/main/java/de/uka/ilkd/key/rule/metaconstruct/DeclareLocalLoopVars.java
Outdated
Show resolved
Hide resolved
Not necessarily for possibly modified local variables wrt. the loop scope rule. The old loop rule did add those variables, the loop scope rule does not. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Loooks a lot cleaner without the maps in the schema variable. Thanks
Related Issue
This pull request addresses #3524.
Intended Change
For all loopScopeInv rules: Declares for each local variable
i
a new PVi_before
, stores the value ofi
before the loop ini_before
, and applies{i := i_before}
to the frame condition.Type of pull request
Ensuring quality
Additional information and contact(s)
Thanks @unp1!
The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.