Fix () to be a 0-ary tuple, not empty PARENTHESIZED
This commit is contained in:
@@ -324,7 +324,7 @@ JetFile: NewlinesInParentheses.jet
|
||||
REFERENCE_EXPRESSION
|
||||
PsiElement(IDENTIFIER)('T')
|
||||
PsiWhiteSpace('\n ')
|
||||
PARENTHESIZED
|
||||
TUPLE
|
||||
PsiElement(LPAR)('(')
|
||||
PsiElement(RPAR)(')')
|
||||
PsiWhiteSpace('\n')
|
||||
|
||||
@@ -32,4 +32,4 @@ fun foo() {
|
||||
a || b && c
|
||||
a = b -> c
|
||||
a = b || c
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ JetFile: SimpleExpressions.jet
|
||||
PsiWhiteSpace(' ')
|
||||
PsiElement(EQ)('=')
|
||||
PsiWhiteSpace(' ')
|
||||
PARENTHESIZED
|
||||
TUPLE
|
||||
PsiElement(LPAR)('(')
|
||||
PsiElement(RPAR)(')')
|
||||
PsiElement(COMMA)(',')
|
||||
|
||||
Reference in New Issue
Block a user