Skip to content

Commit

Permalink
Adapt code to basetype visitor logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Ao-senXiong committed Apr 7, 2024
1 parent 7d092b1 commit 7818eeb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/checkers/inference/InferenceVisitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,8 @@ protected boolean commonAssignmentCheck(
mono.getCanonicalName(),
mono.getCanonicalName(),
valueType.toString());
return true;
// Assign success to false to report the error.
success = false;
}
}
}
Expand Down

0 comments on commit 7818eeb

Please sign in to comment.