Skip to content

Commit b1cae44

Browse files
Skip Null Literals in RefinementTypeChecker
Co-Authored-By: Márcio Caetano <153174341+rodrigomilisse@users.noreply.github.com>
1 parent 368df95 commit b1cae44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,8 @@ public <T> void visitCtLiteral(CtLiteral<T> lit) {
266266

267267
} else if (lit.getType().getQualifiedName().contentEquals("java.lang.String")) {
268268
// Only taking care of strings inside refinements
269+
} else if (type == "<nulltype>") {
270+
// Skip null literals for now
269271
} else {
270272
throw new NotImplementedException(
271273
String.format("Literal of type %s not implemented:", lit.getType().getQualifiedName()));

0 commit comments

Comments
 (0)