Fix irregular PSI structure for classes without body

This commit is contained in:
Alexey Sedunov
2013-10-03 17:44:22 +04:00
parent bdc908d45f
commit 28b3db53fe
51 changed files with 47 additions and 336 deletions
@@ -5,8 +5,6 @@ JetFile: ValueParameterNoTypeRecovery.kt
PsiElement(class)('class')
PsiWhiteSpace(' ')
PsiElement(IDENTIFIER)('Test')
TYPE_PARAMETER_LIST
<empty list>
VALUE_PARAMETER_LIST
PsiElement(LPAR)('(')
VALUE_PARAMETER
@@ -6,8 +6,6 @@ JetFile: kt2172.kt
PsiWhiteSpace(' ')
PsiElement(IDENTIFIER)('Foo')
PsiWhiteSpace(' ')
TYPE_PARAMETER_LIST
<empty list>
CLASS_BODY
PsiElement(LBRACE)('{')
PsiWhiteSpace('\n\n ')