Skip to content

Commit 5294bc0

Browse files
committed
Do not throw AssertionError in IRProcessor
1 parent 8b3723a commit 5294bc0

File tree

1 file changed

+1
-1
lines changed
  • engine/runtime-parser-processor/src/main/java/org/enso/runtime/parser/processor

1 file changed

+1
-1
lines changed

engine/runtime-parser-processor/src/main/java/org/enso/runtime/parser/processor/IRProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ private List<TypeElement> orderByReferences(Set<TypeElement> classesToProcess) {
167167
classesToProcess.stream()
168168
.filter(clazz -> clazz.getSimpleName().toString().equals(depName))
169169
.findFirst()
170-
.orElseThrow(() -> new AssertionError("Class not found: " + depName));
170+
.orElseThrow(() -> new IRProcessingException("Class not found: " + depName, null));
171171
return depClazz;
172172
})
173173
.toList();

0 commit comments

Comments
 (0)