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/qodana-action@v2024.2.3
with:
upload-result: trueContact Qodana teamContact us at qodana-support@jetbrains.com
|
mattulbrich
left a comment
There was a problem hiding this comment.
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. |
mattulbrich
left a comment
There was a problem hiding this comment.
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
ia new PVi_before, stores the value ofibefore 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.