Files
openide/java/java-analysis-impl
Tagir Valeev 289681a13d [java-dfa] Take into account types when comparing ContractTempDescriptors
Even if we flush temp variables after every method call, they are kept in DfaValueFactory, so if we create an equal descriptor later, the old variable will be reused, even if it had a different type. This caused wrong contract evaluation for the second call.
Fixes IDEA-280534 Constant conditions & exceptions. False positive "Result of 'getComment().equals(tag.getComment())' is always 'false'"

GitOrigin-RevId: 918eca6110e5b416b78430b1e3f30d40fe28d9a7
2021-10-19 10:09:36 +00:00
..