Fix compiler tests
This commit is contained in:
+6
-2
@@ -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
@@ -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)('}')
|
||||
Reference in New Issue
Block a user