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:
@@ -1,4 +1,6 @@
|
||||
JetFile: Simple.kt
|
||||
PACKAGE_DIRECTIVE
|
||||
<empty list>
|
||||
KDoc
|
||||
PsiElement(KDOC_START)('/**')
|
||||
PsiElement(KDOC_TEXT)(' line 0')
|
||||
@@ -18,6 +20,4 @@ JetFile: Simple.kt
|
||||
PsiWhiteSpace('\n ')
|
||||
PsiElement(KDOC_LEADING_ASTERISK)('**')
|
||||
PsiElement(KDOC_TEXT)(' line 6 ')
|
||||
PsiElement(KDOC_END)('*/')
|
||||
PACKAGE_DIRECTIVE
|
||||
<empty list>
|
||||
PsiElement(KDOC_END)('*/')
|
||||
Reference in New Issue
Block a user