Empty parameter list should go before '->' in a lambda

Example:

  val x = { -> foo() }
This commit is contained in:
Andrey Breslav
2014-04-14 19:15:08 +04:00
parent 4a60c59f39
commit d28ca5bdfa
3 changed files with 7 additions and 7 deletions
@@ -16,10 +16,10 @@ JetFile: FunctionLiterals_ERR.kt
FUNCTION_LITERAL
PsiElement(LBRACE)('{')
PsiWhiteSpace(' ')
PsiElement(ARROW)('->')
PsiWhiteSpace(' ')
VALUE_PARAMETER_LIST
<empty list>
PsiElement(ARROW)('->')
PsiWhiteSpace(' ')
BLOCK
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('a')