mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
more comprehensive assertion in PsiLiteralStub.getLiteralType (IDEA-CR-10901)
This commit is contained in:
@@ -48,7 +48,7 @@ public class PsiLiteralStub extends StubBase<PsiLiteralExpressionImpl> {
|
||||
JavaLexer lexer = new JavaLexer(LanguageLevel.HIGHEST);
|
||||
lexer.start(myLiteralText);
|
||||
myLiteralType = type = lexer.getTokenType();
|
||||
assert type != null;
|
||||
assert type != null : myLiteralText;
|
||||
}
|
||||
return type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user