Fix compiler tests

This commit is contained in:
Yan Zhulanow
2015-09-21 23:40:34 +03:00
parent 35362a0f3b
commit 6db9344659
319 changed files with 1034 additions and 1032 deletions
+6 -2
View File
@@ -23,7 +23,11 @@ fun Int.matchMask(mask : Int) = this and mask == mask
open class INumber : IComparable<This> {
val bits : Int
@operator fun plus(other : This) : This
@operator fun shl(bits : Int) : This
@Operator
fun plus(other : This) : This
@Operator
fun shl(bits : Int) : This
// ...
}
+7 -7
View File
@@ -554,7 +554,7 @@ JetFile: BitArith.kt
USER_TYPE
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('Int')
PsiWhiteSpace('\n ')
PsiWhiteSpace('\n\n ')
FUN
MODIFIER_LIST
ANNOTATION_ENTRY
@@ -563,8 +563,8 @@ JetFile: BitArith.kt
TYPE_REFERENCE
USER_TYPE
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('operator')
PsiWhiteSpace(' ')
PsiElement(IDENTIFIER)('Operator')
PsiWhiteSpace('\n ')
PsiElement(fun)('fun')
PsiWhiteSpace(' ')
PsiElement(IDENTIFIER)('plus')
@@ -585,7 +585,7 @@ JetFile: BitArith.kt
TYPE_REFERENCE
SELF_TYPE
PsiElement(This)('This')
PsiWhiteSpace('\n ')
PsiWhiteSpace('\n\n ')
FUN
MODIFIER_LIST
ANNOTATION_ENTRY
@@ -594,8 +594,8 @@ JetFile: BitArith.kt
TYPE_REFERENCE
USER_TYPE
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('operator')
PsiWhiteSpace(' ')
PsiElement(IDENTIFIER)('Operator')
PsiWhiteSpace('\n ')
PsiElement(fun)('fun')
PsiWhiteSpace(' ')
PsiElement(IDENTIFIER)('shl')
@@ -620,4 +620,4 @@ JetFile: BitArith.kt
PsiWhiteSpace('\n ')
PsiComment(EOL_COMMENT)('// ...')
PsiWhiteSpace('\n')
PsiElement(RBRACE)('}')
PsiElement(RBRACE)('}')