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
@@ -276,11 +276,11 @@ JetFile: FunctionsWithFunctionReceivers.kt
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('Unit')
PsiErrorElement:Expecting '.' before a function name
PsiElement(RPAR)(')')
PsiErrorElement:Expecting function name
PsiElement(DOT)('.')
PsiErrorElement:Expecting '('
<empty list>
PsiErrorElement:Expecting a top level declaration
PsiElement(RPAR)(')')
PsiErrorElement:Expecting a top level declaration
PsiElement(DOT)('.')
FUN
MODIFIER_LIST
ANNOTATION_ENTRY