Fixed doc-comment not attached to the first declaration with no package directive + incorrect placement of comments for enum entry

This commit is contained in:
Valentin Kipyatkov
2014-10-03 16:04:05 +04:00
parent e3d6b7358c
commit 377df47e29
29 changed files with 201 additions and 66 deletions
@@ -1,14 +1,14 @@
JetFile: MutableArray.kt
KDoc
PsiElement(KDOC_START)('/**')
PsiWhiteSpace('\n ')
PsiElement(KDOC_TEXT)('These declarations are "shallow" in the sense that they are not really compiled, only the type-checker uses them')
PsiWhiteSpace('\n')
PsiElement(KDOC_END)('*/')
PsiWhiteSpace('\n\n')
PACKAGE_DIRECTIVE
<empty list>
CLASS
KDoc
PsiElement(KDOC_START)('/**')
PsiWhiteSpace('\n ')
PsiElement(KDOC_TEXT)('These declarations are "shallow" in the sense that they are not really compiled, only the type-checker uses them')
PsiWhiteSpace('\n')
PsiElement(KDOC_END)('*/')
PsiWhiteSpace('\n\n')
MODIFIER_LIST
PsiElement(open)('open')
PsiWhiteSpace(' ')