We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9a30ff commit 91cb39fCopy full SHA for 91cb39f
1 file changed
liquidjava-verifier/src/main/java/liquidjava/processor/refinement_checker/TypeChecker.java
@@ -101,6 +101,11 @@ public Optional<Predicate> getRefinementFromAnnotation(CtElement element) throws
101
return constr;
102
}
103
104
+ /**
105
+ * Performs a best-effort satisfiability check for a refinement reporting a warning if unsat. Runs an SMT check on a
106
+ * temporary scope and if the refinement mentions other names that are still unavailable at this point, the SMT
107
+ * check fails and that failure is ignored.
108
+ */
109
private void checkRefinementSatisfiability(String refinement, Predicate predicate, CtElement element) {
110
context.enterContext();
111
try {
0 commit comments