Corrected comments binding so that comments before local functions and classes are bound to them

This commit is contained in:
Valentin Kipyatkov
2014-10-03 18:32:12 +04:00
parent 9a8aa0f71a
commit b811a6cab4
5 changed files with 77 additions and 9 deletions
+2 -2
View File
@@ -58,9 +58,9 @@ JetFile: When.kt
PsiElement(RBRACE)('}')
PsiElement(RBRACE)('}')
PsiWhiteSpace('\n\n ')
PsiComment(EOL_COMMENT)('// foo')
PsiWhiteSpace('\n ')
FUN
PsiComment(EOL_COMMENT)('// foo')
PsiWhiteSpace('\n ')
PsiElement(fun)('fun')
PsiWhiteSpace(' ')
PsiElement(IDENTIFIER)('b')