Highlighter - avoid nullpointer

This commit is contained in:
Jindra Petřík
2025-06-11 21:10:38 +02:00
parent b26791697c
commit 76e0a86bdd

View File

@@ -435,6 +435,9 @@ public interface SimpleParser {
type = externalSubTypes.remove(0);
}
} else {
if (type == null) {
break;
}
traitKey = type.add(part);
if (!traitFullNameToDefinition.containsKey(traitKey)) {
if (simpleExternalClassNameToFullClassName.containsKey(type)) {