KT-8275 Unterminated multi-line comment should be compilation error

#KT-8275 fixed
This commit is contained in:
Evgeny Gerashchenko
2015-12-17 18:09:43 +03:00
committed by Andrey Breslav
parent 7cad65a1e7
commit 0d79c65d73
13 changed files with 68 additions and 4 deletions
@@ -0,0 +1,22 @@
JetFile: BlockCommentUnmatchedClosing_ERR.kt
PACKAGE_DIRECTIVE
<empty list>
IMPORT_LIST
<empty list>
FUN
PsiElement(fun)('fun')
PsiWhiteSpace(' ')
PsiElement(IDENTIFIER)('f')
VALUE_PARAMETER_LIST
PsiElement(LPAR)('(')
PsiElement(RPAR)(')')
PsiWhiteSpace(' ')
BLOCK
PsiElement(LBRACE)('{')
PsiWhiteSpace('\n ')
PsiErrorElement:Expecting an element
PsiElement(MUL)('*')
PsiErrorElement:Unexpected tokens (use ';' to separate expressions on the same line)
PsiElement(DIV)('/')
PsiWhiteSpace('\n')
PsiElement(RBRACE)('}')