Skip to content

Commit 9ea85c7

Browse files
Update liquidjava-verifier/src/main/java/liquidjava/processor/refinement_checker/general_checkers/MethodsFunctionsChecker.java
Co-authored-by: Ricardo Costa <rcosta.ms358@gmail.com>
1 parent 3bf3c79 commit 9ea85c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

liquidjava-verifier/src/main/java/liquidjava/processor/refinement_checker/general_checkers/MethodsFunctionsChecker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ private Map<String, String> checkInvocationRefinements(CtElement invocation, Lis
307307
AuxStateHandler.checkTargetChanges(rtc, f, target, map, invocation);
308308

309309
// Expose `_ == returnViName` so the if-condition path variable ties to this return value.
310-
Predicate emptyRef = returnViName != null
310+
Predicate returnRef = returnViName != null
311311
? Predicate.createEquals(Predicate.createVar(Keys.WILDCARD), Predicate.createVar(returnViName))
312312
: new Predicate();
313313
invocation.putMetadata(Keys.REFINEMENT, emptyRef);

0 commit comments

Comments
 (0)