Skip to content

Commit 0f6cc48

Browse files
committed
Minor Change
1 parent 3bac32d commit 0f6cc48

File tree

1 file changed

+1
-2
lines changed
  • liquidjava-verifier/src/main/java/liquidjava/processor/refinement_checker

1 file changed

+1
-2
lines changed

liquidjava-verifier/src/main/java/liquidjava/processor/refinement_checker/VCChecker.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ public void processSubtyping(Predicate expectedType, List<GhostState> list, CtEl
5555
} catch (LJError e) {
5656
// add location info to error
5757
if (e.getPosition() == null) {
58-
SourcePosition pos = e instanceof NotFoundError ? Utils.getFirstLJAnnotationValuePosition(element)
59-
: Utils.getFirstLJAnnotationPosition(element);
58+
SourcePosition pos = Utils.getFirstLJAnnotationValuePosition(element);
6059
e.setPosition(pos);
6160
}
6261
throw e;

0 commit comments

Comments
 (0)