1535873c07
It can consume the whole file in such case which will result PsiBuilder going crazy #KT-36191 fixed
40 lines
1.4 KiB
Plaintext
Vendored
40 lines
1.4 KiB
Plaintext
Vendored
KtFile: StringTemplateWithTryWithoutBlockInLongEntry.kt
|
|
PACKAGE_DIRECTIVE
|
|
<empty list>
|
|
IMPORT_LIST
|
|
<empty list>
|
|
FUN
|
|
PsiElement(fun)('fun')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('foo')
|
|
VALUE_PARAMETER_LIST
|
|
PsiElement(LPAR)('(')
|
|
PsiElement(RPAR)(')')
|
|
PsiWhiteSpace(' ')
|
|
BLOCK
|
|
PsiElement(LBRACE)('{')
|
|
PsiWhiteSpace('\n ')
|
|
CALL_EXPRESSION
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('println')
|
|
VALUE_ARGUMENT_LIST
|
|
PsiElement(LPAR)('(')
|
|
VALUE_ARGUMENT
|
|
STRING_TEMPLATE
|
|
PsiElement(OPEN_QUOTE)('"')
|
|
LONG_STRING_TEMPLATE_ENTRY
|
|
PsiElement(LONG_TEMPLATE_ENTRY_START)('${')
|
|
TRY
|
|
PsiElement(try)('try')
|
|
BLOCK
|
|
PsiErrorElement:Expecting '{' to open a block
|
|
<empty list>
|
|
PsiErrorElement:Expecting an element
|
|
PsiElement(LONG_TEMPLATE_ENTRY_END)('}')
|
|
PsiErrorElement:Unexpected tokens (use ';' to separate expressions on the same line)
|
|
PsiElement(CLOSING_QUOTE)('"')
|
|
PsiElement(RPAR)(')')
|
|
PsiWhiteSpace('\n')
|
|
PsiElement(RBRACE)('}')
|
|
PsiErrorElement:Expecting 'catch' or 'finally'
|
|
<empty list> |