f20e2dec31
#KT-59748 Fixed
59 lines
1.6 KiB
Plaintext
Vendored
59 lines
1.6 KiB
Plaintext
Vendored
FILE: arraySet.kt
|
|
public final class A<T> : R|kotlin/Any| {
|
|
public constructor<T>(): R|A<T>| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final operator fun get(index: R|kotlin/Int|): R|T| {
|
|
^get Null(null)!!
|
|
}
|
|
|
|
public final operator fun set(index: R|kotlin/Int|, value: R|T|): R|kotlin/Unit| {
|
|
}
|
|
|
|
}
|
|
public final class B : R|kotlin/Any| {
|
|
public constructor(): R|B| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final operator fun plusAssign(other: R|B|): R|kotlin/Unit| {
|
|
}
|
|
|
|
}
|
|
public final class C : R|kotlin/Any| {
|
|
public constructor(): R|C| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final operator fun plus(other: R|C|): R|C| {
|
|
^plus this@R|/C|
|
|
}
|
|
|
|
}
|
|
public final class D : R|kotlin/Any| {
|
|
public constructor(): R|D| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final operator fun plusAssign(other: R|D|): R|kotlin/Unit| {
|
|
}
|
|
|
|
public final operator fun plus(other: R|D|): R|D| {
|
|
^plus this@R|/D|
|
|
}
|
|
|
|
}
|
|
public final fun test_1(a: R|A<B>|): R|kotlin/Unit| {
|
|
R|<local>/a|.R|SubstitutionOverride</A.set: R|kotlin/Unit|>|(Int(0), R|/B.B|())
|
|
Unit
|
|
}
|
|
public final fun test_2(a: R|A<C>|): R|kotlin/Unit| {
|
|
R|<local>/a|.R|SubstitutionOverride</A.set: R|kotlin/Unit|>|(Int(0), R|/C.C|())
|
|
Unit
|
|
}
|
|
public final fun test_3(a: R|A<D>|): R|kotlin/Unit| {
|
|
R|<local>/a|.R|SubstitutionOverride</A.set: R|kotlin/Unit|>|(Int(0), R|/D.D|())
|
|
Unit
|
|
}
|