Update misc test data after introducing rangeUntil member #KT-52933
This commit is contained in:
@@ -94,6 +94,22 @@ operator fun rangeTo(other: kotlin.Long): kotlin.ranges.LongRange
|
|||||||
|
|
||||||
operator fun rangeTo(other: kotlin.Short): kotlin.ranges.IntRange
|
operator fun rangeTo(other: kotlin.Short): kotlin.ranges.IntRange
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.7")
|
||||||
|
@kotlin.ExperimentalStdlibApi
|
||||||
|
operator fun rangeUntil(other: kotlin.Byte): kotlin.ranges.IntRange
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.7")
|
||||||
|
@kotlin.ExperimentalStdlibApi
|
||||||
|
operator fun rangeUntil(other: kotlin.Int): kotlin.ranges.IntRange
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.7")
|
||||||
|
@kotlin.ExperimentalStdlibApi
|
||||||
|
operator fun rangeUntil(other: kotlin.Long): kotlin.ranges.LongRange
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.7")
|
||||||
|
@kotlin.ExperimentalStdlibApi
|
||||||
|
operator fun rangeUntil(other: kotlin.Short): kotlin.ranges.IntRange
|
||||||
|
|
||||||
@kotlin.SinceKotlin(version = "1.1")
|
@kotlin.SinceKotlin(version = "1.1")
|
||||||
@kotlin.internal.IntrinsicConstEvaluation
|
@kotlin.internal.IntrinsicConstEvaluation
|
||||||
operator fun rem(other: kotlin.Byte): kotlin.Int
|
operator fun rem(other: kotlin.Byte): kotlin.Int
|
||||||
|
|||||||
@@ -1062,6 +1062,142 @@ KtFunctionSymbol:
|
|||||||
getContainingModule: KtBinaryModule "Builtins for JVM (1.8)"
|
getContainingModule: KtBinaryModule "Builtins for JVM (1.8)"
|
||||||
deprecationStatus: null
|
deprecationStatus: null
|
||||||
|
|
||||||
|
KtFunctionSymbol:
|
||||||
|
annotationsList: [
|
||||||
|
kotlin/SinceKotlin(version = "1.7")
|
||||||
|
psi: null
|
||||||
|
kotlin/ExperimentalStdlibApi()
|
||||||
|
psi: null
|
||||||
|
]
|
||||||
|
callableIdIfNonLocal: kotlin/Int.rangeUntil
|
||||||
|
contextReceivers: []
|
||||||
|
hasStableParameterNames: true
|
||||||
|
isBuiltinFunctionInvoke: false
|
||||||
|
isExtension: false
|
||||||
|
isExternal: false
|
||||||
|
isInfix: false
|
||||||
|
isInline: false
|
||||||
|
isOperator: true
|
||||||
|
isOverride: false
|
||||||
|
isStatic: false
|
||||||
|
isSuspend: false
|
||||||
|
modality: FINAL
|
||||||
|
name: rangeUntil
|
||||||
|
origin: LIBRARY
|
||||||
|
receiverType: null
|
||||||
|
returnType: kotlin/ranges/IntRange
|
||||||
|
symbolKind: CLASS_MEMBER
|
||||||
|
typeParameters: []
|
||||||
|
valueParameters: [
|
||||||
|
KtValueParameterSymbol(other)
|
||||||
|
]
|
||||||
|
visibility: Public
|
||||||
|
getDispatchReceiver(): kotlin/Int
|
||||||
|
getContainingModule: KtBinaryModule "Builtins for JVM (1.8)"
|
||||||
|
deprecationStatus: null
|
||||||
|
|
||||||
|
KtFunctionSymbol:
|
||||||
|
annotationsList: [
|
||||||
|
kotlin/SinceKotlin(version = "1.7")
|
||||||
|
psi: null
|
||||||
|
kotlin/ExperimentalStdlibApi()
|
||||||
|
psi: null
|
||||||
|
]
|
||||||
|
callableIdIfNonLocal: kotlin/Int.rangeUntil
|
||||||
|
contextReceivers: []
|
||||||
|
hasStableParameterNames: true
|
||||||
|
isBuiltinFunctionInvoke: false
|
||||||
|
isExtension: false
|
||||||
|
isExternal: false
|
||||||
|
isInfix: false
|
||||||
|
isInline: false
|
||||||
|
isOperator: true
|
||||||
|
isOverride: false
|
||||||
|
isStatic: false
|
||||||
|
isSuspend: false
|
||||||
|
modality: FINAL
|
||||||
|
name: rangeUntil
|
||||||
|
origin: LIBRARY
|
||||||
|
receiverType: null
|
||||||
|
returnType: kotlin/ranges/IntRange
|
||||||
|
symbolKind: CLASS_MEMBER
|
||||||
|
typeParameters: []
|
||||||
|
valueParameters: [
|
||||||
|
KtValueParameterSymbol(other)
|
||||||
|
]
|
||||||
|
visibility: Public
|
||||||
|
getDispatchReceiver(): kotlin/Int
|
||||||
|
getContainingModule: KtBinaryModule "Builtins for JVM (1.8)"
|
||||||
|
deprecationStatus: null
|
||||||
|
|
||||||
|
KtFunctionSymbol:
|
||||||
|
annotationsList: [
|
||||||
|
kotlin/SinceKotlin(version = "1.7")
|
||||||
|
psi: null
|
||||||
|
kotlin/ExperimentalStdlibApi()
|
||||||
|
psi: null
|
||||||
|
]
|
||||||
|
callableIdIfNonLocal: kotlin/Int.rangeUntil
|
||||||
|
contextReceivers: []
|
||||||
|
hasStableParameterNames: true
|
||||||
|
isBuiltinFunctionInvoke: false
|
||||||
|
isExtension: false
|
||||||
|
isExternal: false
|
||||||
|
isInfix: false
|
||||||
|
isInline: false
|
||||||
|
isOperator: true
|
||||||
|
isOverride: false
|
||||||
|
isStatic: false
|
||||||
|
isSuspend: false
|
||||||
|
modality: FINAL
|
||||||
|
name: rangeUntil
|
||||||
|
origin: LIBRARY
|
||||||
|
receiverType: null
|
||||||
|
returnType: kotlin/ranges/LongRange
|
||||||
|
symbolKind: CLASS_MEMBER
|
||||||
|
typeParameters: []
|
||||||
|
valueParameters: [
|
||||||
|
KtValueParameterSymbol(other)
|
||||||
|
]
|
||||||
|
visibility: Public
|
||||||
|
getDispatchReceiver(): kotlin/Int
|
||||||
|
getContainingModule: KtBinaryModule "Builtins for JVM (1.8)"
|
||||||
|
deprecationStatus: null
|
||||||
|
|
||||||
|
KtFunctionSymbol:
|
||||||
|
annotationsList: [
|
||||||
|
kotlin/SinceKotlin(version = "1.7")
|
||||||
|
psi: null
|
||||||
|
kotlin/ExperimentalStdlibApi()
|
||||||
|
psi: null
|
||||||
|
]
|
||||||
|
callableIdIfNonLocal: kotlin/Int.rangeUntil
|
||||||
|
contextReceivers: []
|
||||||
|
hasStableParameterNames: true
|
||||||
|
isBuiltinFunctionInvoke: false
|
||||||
|
isExtension: false
|
||||||
|
isExternal: false
|
||||||
|
isInfix: false
|
||||||
|
isInline: false
|
||||||
|
isOperator: true
|
||||||
|
isOverride: false
|
||||||
|
isStatic: false
|
||||||
|
isSuspend: false
|
||||||
|
modality: FINAL
|
||||||
|
name: rangeUntil
|
||||||
|
origin: LIBRARY
|
||||||
|
receiverType: null
|
||||||
|
returnType: kotlin/ranges/IntRange
|
||||||
|
symbolKind: CLASS_MEMBER
|
||||||
|
typeParameters: []
|
||||||
|
valueParameters: [
|
||||||
|
KtValueParameterSymbol(other)
|
||||||
|
]
|
||||||
|
visibility: Public
|
||||||
|
getDispatchReceiver(): kotlin/Int
|
||||||
|
getContainingModule: KtBinaryModule "Builtins for JVM (1.8)"
|
||||||
|
deprecationStatus: null
|
||||||
|
|
||||||
KtFunctionSymbol:
|
KtFunctionSymbol:
|
||||||
annotationsList: [
|
annotationsList: [
|
||||||
kotlin/SinceKotlin(version = "1.1")
|
kotlin/SinceKotlin(version = "1.1")
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
// !LANGUAGE: +RangeUntilOperator
|
|
||||||
|
|
||||||
fun main(n: Int) {
|
|
||||||
for (i in <!ITERATOR_MISSING!>0<!UNRESOLVED_REFERENCE!>..<<!>n<!>) {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,7 +1,8 @@
|
|||||||
|
// FIR_IDENTICAL
|
||||||
// !LANGUAGE: +RangeUntilOperator
|
// !LANGUAGE: +RangeUntilOperator
|
||||||
|
|
||||||
fun main(n: Int) {
|
fun main(n: Int) {
|
||||||
for (i in 0<!UNRESOLVED_REFERENCE!>..<<!>n) {
|
for (i in 0..<n) {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -165,6 +165,30 @@ CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Int modality:FINAL visibility:publ
|
|||||||
FUN IR_EXTERNAL_DECLARATION_STUB name:rangeTo visibility:public modality:FINAL <> ($this:kotlin.Int, other:<unbound IrClassPublicSymbolImpl>) returnType:<unbound IrClassPublicSymbolImpl> [operator]
|
FUN IR_EXTERNAL_DECLARATION_STUB name:rangeTo visibility:public modality:FINAL <> ($this:kotlin.Int, other:<unbound IrClassPublicSymbolImpl>) returnType:<unbound IrClassPublicSymbolImpl> [operator]
|
||||||
$this: VALUE_PARAMETER IR_EXTERNAL_DECLARATION_STUB name:<this> type:kotlin.Int
|
$this: VALUE_PARAMETER IR_EXTERNAL_DECLARATION_STUB name:<this> type:kotlin.Int
|
||||||
VALUE_PARAMETER IR_EXTERNAL_DECLARATION_STUB name:other index:0 type:<unbound IrClassPublicSymbolImpl>
|
VALUE_PARAMETER IR_EXTERNAL_DECLARATION_STUB name:other index:0 type:<unbound IrClassPublicSymbolImpl>
|
||||||
|
FUN IR_EXTERNAL_DECLARATION_STUB name:rangeUntil visibility:public modality:FINAL <> ($this:kotlin.Int, other:<unbound IrClassPublicSymbolImpl>) returnType:<unbound IrClassPublicSymbolImpl> [operator]
|
||||||
|
annotations:
|
||||||
|
<unbound>(1 = '1.7')
|
||||||
|
<unbound>
|
||||||
|
$this: VALUE_PARAMETER IR_EXTERNAL_DECLARATION_STUB name:<this> type:kotlin.Int
|
||||||
|
VALUE_PARAMETER IR_EXTERNAL_DECLARATION_STUB name:other index:0 type:<unbound IrClassPublicSymbolImpl>
|
||||||
|
FUN IR_EXTERNAL_DECLARATION_STUB name:rangeUntil visibility:public modality:FINAL <> ($this:kotlin.Int, other:kotlin.Int) returnType:<unbound IrClassPublicSymbolImpl> [operator]
|
||||||
|
annotations:
|
||||||
|
<unbound>(1 = '1.7')
|
||||||
|
<unbound>
|
||||||
|
$this: VALUE_PARAMETER IR_EXTERNAL_DECLARATION_STUB name:<this> type:kotlin.Int
|
||||||
|
VALUE_PARAMETER IR_EXTERNAL_DECLARATION_STUB name:other index:0 type:kotlin.Int
|
||||||
|
FUN IR_EXTERNAL_DECLARATION_STUB name:rangeUntil visibility:public modality:FINAL <> ($this:kotlin.Int, other:<unbound IrClassPublicSymbolImpl>) returnType:<unbound IrClassPublicSymbolImpl> [operator]
|
||||||
|
annotations:
|
||||||
|
<unbound>(1 = '1.7')
|
||||||
|
<unbound>
|
||||||
|
$this: VALUE_PARAMETER IR_EXTERNAL_DECLARATION_STUB name:<this> type:kotlin.Int
|
||||||
|
VALUE_PARAMETER IR_EXTERNAL_DECLARATION_STUB name:other index:0 type:<unbound IrClassPublicSymbolImpl>
|
||||||
|
FUN IR_EXTERNAL_DECLARATION_STUB name:rangeUntil visibility:public modality:FINAL <> ($this:kotlin.Int, other:<unbound IrClassPublicSymbolImpl>) returnType:<unbound IrClassPublicSymbolImpl> [operator]
|
||||||
|
annotations:
|
||||||
|
<unbound>(1 = '1.7')
|
||||||
|
<unbound>
|
||||||
|
$this: VALUE_PARAMETER IR_EXTERNAL_DECLARATION_STUB name:<this> type:kotlin.Int
|
||||||
|
VALUE_PARAMETER IR_EXTERNAL_DECLARATION_STUB name:other index:0 type:<unbound IrClassPublicSymbolImpl>
|
||||||
FUN IR_EXTERNAL_DECLARATION_STUB name:rem visibility:public modality:FINAL <> ($this:kotlin.Int, other:<unbound IrClassPublicSymbolImpl>) returnType:kotlin.Int [operator]
|
FUN IR_EXTERNAL_DECLARATION_STUB name:rem visibility:public modality:FINAL <> ($this:kotlin.Int, other:<unbound IrClassPublicSymbolImpl>) returnType:kotlin.Int [operator]
|
||||||
annotations:
|
annotations:
|
||||||
<unbound>(1 = '1.1')
|
<unbound>(1 = '1.1')
|
||||||
|
|||||||
Reference in New Issue
Block a user