Fixed function expression recovery

This commit is contained in:
Stanislav Erokhin
2015-02-05 21:10:06 +03:00
parent 983e1bc932
commit a235110d44
6 changed files with 693 additions and 8 deletions
@@ -3,11 +3,11 @@ JetFile: FunctionsWithoutName_ERR.kt
<empty list>
FUN
PsiElement(fun)('fun')
PsiWhiteSpace(' ')
PsiErrorElement:Expecting function name or receiver type
PsiElement(RPAR)(')')
PsiErrorElement:Expecting '('
<empty list>
PsiWhiteSpace(' ')
PsiErrorElement:Expecting a top level declaration
PsiElement(RPAR)(')')
PsiWhiteSpace('\n')
FUN
PsiElement(fun)('fun')