Rename Kotlin/Native modules for uniformity
This commit is contained in:
+84
@@ -0,0 +1,84 @@
|
||||
expect class A1()
|
||||
expect interface B1
|
||||
expect annotation class C1()
|
||||
expect object D1
|
||||
expect enum class E1 { FOO, BAR, BAZ }
|
||||
|
||||
expect class F() {
|
||||
inner class G1()
|
||||
class H1()
|
||||
interface I1
|
||||
object J1
|
||||
enum class K1 { FOO, BAR, BAZ }
|
||||
}
|
||||
|
||||
expect interface L {
|
||||
class M1()
|
||||
interface N1
|
||||
object O1
|
||||
enum class P1 { FOO, BAR, BAZ }
|
||||
}
|
||||
|
||||
expect object R {
|
||||
class S1()
|
||||
interface T1
|
||||
object U1
|
||||
enum class V1 { FOO, BAR, BAZ }
|
||||
}
|
||||
|
||||
expect class W() {
|
||||
object X {
|
||||
interface Y {
|
||||
class Z() {
|
||||
enum class AA { FOO, BAR, BAZ }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
expect class BB1() { companion object }
|
||||
expect class BB2()
|
||||
|
||||
expect class CC1() { companion object DD1 }
|
||||
expect class CC2()
|
||||
expect class CC3()
|
||||
|
||||
expect inline class EE1(val value: String)
|
||||
|
||||
expect class FF1(property1: String) {
|
||||
val property1: String
|
||||
val property2: String
|
||||
val property3: String
|
||||
val property4: String
|
||||
|
||||
fun function1(): String
|
||||
fun function2(): String
|
||||
}
|
||||
expect class FF2()
|
||||
|
||||
expect sealed class GG1
|
||||
expect sealed class GG2 {
|
||||
class HH1(): GG2
|
||||
object HH2 : GG2
|
||||
}
|
||||
|
||||
expect class HH5(): GG2
|
||||
expect object HH6 : GG2
|
||||
|
||||
expect enum class II1
|
||||
expect enum class II2 { FOO }
|
||||
|
||||
expect interface JJ {
|
||||
val property: String
|
||||
fun function(): String
|
||||
}
|
||||
|
||||
expect class KK1(property: String) : JJ {
|
||||
override val property: String
|
||||
override fun function(): String
|
||||
}
|
||||
|
||||
expect class KK2(wrapped: JJ) : JJ
|
||||
|
||||
expect class LL1(value: String) { val value: String }
|
||||
expect class LL2(value: String) { val value: String }
|
||||
+133
@@ -0,0 +1,133 @@
|
||||
actual class A1 actual constructor()
|
||||
class A2
|
||||
class A3
|
||||
class A4
|
||||
class A5
|
||||
|
||||
actual interface B1
|
||||
interface B2
|
||||
interface B3
|
||||
interface B4
|
||||
|
||||
actual annotation class C1 actual constructor()
|
||||
annotation class C2
|
||||
annotation class C3
|
||||
|
||||
actual object D1
|
||||
object D2
|
||||
|
||||
actual enum class E1 { FOO, BAR, BAZ }
|
||||
|
||||
actual class F actual constructor() {
|
||||
actual inner class G1 actual constructor()
|
||||
inner class G2
|
||||
inner class G3
|
||||
inner class G4
|
||||
inner class G5
|
||||
inner class G6
|
||||
|
||||
actual class H1 actual constructor()
|
||||
class H2
|
||||
class H3
|
||||
class H4
|
||||
|
||||
actual interface I1
|
||||
interface I2
|
||||
interface I3
|
||||
|
||||
actual object J1
|
||||
object J2
|
||||
|
||||
actual enum class K1 { FOO, BAR, BAZ }
|
||||
}
|
||||
|
||||
actual interface L {
|
||||
actual class M1 actual constructor()
|
||||
class M2
|
||||
class M3
|
||||
class M4
|
||||
class M5
|
||||
|
||||
actual interface N1
|
||||
interface N2
|
||||
interface N3
|
||||
|
||||
actual object O1
|
||||
object O2
|
||||
|
||||
actual enum class P1 { FOO, BAR, BAZ }
|
||||
}
|
||||
|
||||
actual object R {
|
||||
actual class S1 actual constructor()
|
||||
class S2
|
||||
class S3
|
||||
class S4
|
||||
|
||||
actual interface T1
|
||||
interface T2
|
||||
interface T3
|
||||
|
||||
actual object U1
|
||||
object U2
|
||||
|
||||
actual enum class V1 { FOO, BAR, BAZ }
|
||||
}
|
||||
|
||||
actual class W actual constructor() {
|
||||
actual object X {
|
||||
actual interface Y {
|
||||
actual class Z actual constructor() {
|
||||
actual enum class AA { FOO, BAR, BAZ }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
actual class BB1 actual constructor() { actual companion object }
|
||||
actual class BB2 actual constructor() { companion object }
|
||||
|
||||
actual class CC1 actual constructor() { actual companion object DD1 }
|
||||
actual class CC2 actual constructor() { companion object DD2 }
|
||||
actual class CC3 actual constructor() { companion object DD3 }
|
||||
|
||||
actual inline class EE1 actual constructor(actual val value: String)
|
||||
inline class EE2(val value: String)
|
||||
|
||||
actual external class FF1 actual constructor(actual val property1: String) {
|
||||
actual val property2 = property1
|
||||
actual val property3 get() = property1
|
||||
actual val property4: String
|
||||
|
||||
actual fun function1() = property1
|
||||
actual fun function2(): String
|
||||
}
|
||||
actual external class FF2 actual constructor()
|
||||
|
||||
actual sealed class GG1
|
||||
actual sealed class GG2 {
|
||||
actual class HH1 actual constructor(): GG2()
|
||||
actual object HH2 : GG2()
|
||||
class HH3 : GG2()
|
||||
}
|
||||
|
||||
actual class HH5 actual constructor(): GG2()
|
||||
actual object HH6 : GG2()
|
||||
class HH7 : GG2()
|
||||
|
||||
actual enum class II1
|
||||
actual enum class II2 { FOO, BAR }
|
||||
|
||||
actual interface JJ {
|
||||
actual val property: String
|
||||
actual fun function(): String
|
||||
}
|
||||
|
||||
actual class KK1 actual constructor(actual override val property: String) : JJ {
|
||||
actual override fun function() = property
|
||||
}
|
||||
|
||||
actual class KK2 actual constructor(private val wrapped: JJ) : JJ by wrapped
|
||||
|
||||
actual data class LL1 actual constructor(actual val value: String)
|
||||
actual data class LL2 actual constructor(actual val value: String)
|
||||
+135
@@ -0,0 +1,135 @@
|
||||
actual class A1 actual constructor()
|
||||
interface A2
|
||||
annotation class A3
|
||||
object A4
|
||||
enum class A5 { FOO, BAR, BAZ }
|
||||
|
||||
actual interface B1
|
||||
annotation class B2
|
||||
object B3
|
||||
enum class B4 { FOO, BAR, BAZ }
|
||||
|
||||
actual annotation class C1 actual constructor()
|
||||
object C2
|
||||
enum class C3 { FOO, BAR, BAZ }
|
||||
|
||||
actual object D1
|
||||
enum class D2 { FOO, BAR, BAZ }
|
||||
|
||||
actual enum class E1 { FOO, BAR, BAZ }
|
||||
|
||||
actual class F actual constructor() {
|
||||
actual inner class G1 actual constructor()
|
||||
class G2
|
||||
interface G3
|
||||
object G4
|
||||
enum class G5 { FOO, BAR, BAZ }
|
||||
companion object G6
|
||||
|
||||
actual class H1 actual constructor()
|
||||
interface H2
|
||||
object H3
|
||||
enum class H4 { FOO, BAR, BAZ }
|
||||
|
||||
actual interface I1
|
||||
object I2
|
||||
enum class I3 { FOO, BAR, BAZ }
|
||||
|
||||
actual object J1
|
||||
enum class J2 { FOO, BAR, BAZ }
|
||||
|
||||
actual enum class K1 { FOO, BAR, BAZ }
|
||||
}
|
||||
|
||||
actual interface L {
|
||||
actual class M1 actual constructor()
|
||||
interface M2
|
||||
object M3
|
||||
enum class M4 { FOO, BAR, BAZ }
|
||||
companion object M5
|
||||
|
||||
actual interface N1
|
||||
object N2
|
||||
enum class N3 { FOO, BAR, BAZ }
|
||||
|
||||
actual object O1
|
||||
enum class O2 { FOO, BAR, BAZ }
|
||||
|
||||
actual enum class P1 { FOO, BAR, BAZ }
|
||||
}
|
||||
|
||||
actual object R {
|
||||
actual class S1 actual constructor()
|
||||
interface S2
|
||||
object S3
|
||||
enum class S4 { FOO, BAR, BAZ }
|
||||
|
||||
actual interface T1
|
||||
object T2
|
||||
enum class T3 { FOO, BAR, BAZ }
|
||||
|
||||
actual object U1
|
||||
enum class U2 { FOO, BAR, BAZ }
|
||||
|
||||
actual enum class V1 { FOO, BAR, BAZ }
|
||||
}
|
||||
|
||||
actual class W actual constructor() {
|
||||
actual object X {
|
||||
actual interface Y {
|
||||
actual class Z actual constructor() {
|
||||
actual enum class AA { FOO, BAR, BAZ }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
actual class BB1 actual constructor() { actual companion object }
|
||||
actual class BB2 actual constructor()
|
||||
|
||||
actual class CC1 actual constructor() { actual companion object DD1 }
|
||||
actual class CC2 actual constructor() { companion object CompanionWithAnotherName }
|
||||
actual class CC3 actual constructor() { companion object }
|
||||
|
||||
actual inline class EE1 actual constructor(actual val value: String)
|
||||
class EE2(val value: String)
|
||||
|
||||
actual class FF1 actual constructor(actual val property1: String) {
|
||||
actual val property2 = property1
|
||||
actual val property3 get() = property1
|
||||
actual val property4 = property1
|
||||
|
||||
actual fun function1() = property1
|
||||
actual fun function2() = function1()
|
||||
}
|
||||
actual external class FF2 actual constructor()
|
||||
|
||||
actual sealed class GG1
|
||||
actual sealed class GG2 {
|
||||
actual class HH1 actual constructor(): GG2()
|
||||
actual object HH2 : GG2()
|
||||
class HH4 : GG2()
|
||||
}
|
||||
|
||||
actual class HH5 actual constructor(): GG2()
|
||||
actual object HH6 : GG2()
|
||||
class HH8 : GG2()
|
||||
|
||||
actual enum class II1
|
||||
actual enum class II2 { FOO, BAZ }
|
||||
|
||||
actual interface JJ {
|
||||
actual val property: String
|
||||
val property2: String
|
||||
actual fun function(): String
|
||||
}
|
||||
|
||||
actual class KK1 actual constructor(actual override val property: String) : JJ {
|
||||
val property2 = property
|
||||
actual override fun function() = property
|
||||
}
|
||||
|
||||
actual class KK2 actual constructor(wrapped: JJ) : JJ by wrapped
|
||||
|
||||
actual data class LL1 actual constructor(actual val value: String)
|
||||
actual class LL2 actual constructor(actual val value: String)
|
||||
native/commonizer/testData/classifierCommonization/classKindAndModifiers/original/js/package_root.kt
Vendored
+133
@@ -0,0 +1,133 @@
|
||||
class A1
|
||||
class A2
|
||||
class A3
|
||||
class A4
|
||||
class A5
|
||||
|
||||
interface B1
|
||||
interface B2
|
||||
interface B3
|
||||
interface B4
|
||||
|
||||
annotation class C1
|
||||
annotation class C2
|
||||
annotation class C3
|
||||
|
||||
object D1
|
||||
object D2
|
||||
|
||||
enum class E1 { FOO, BAR, BAZ }
|
||||
|
||||
class F {
|
||||
inner class G1
|
||||
inner class G2
|
||||
inner class G3
|
||||
inner class G4
|
||||
inner class G5
|
||||
inner class G6
|
||||
|
||||
class H1
|
||||
class H2
|
||||
class H3
|
||||
class H4
|
||||
|
||||
interface I1
|
||||
interface I2
|
||||
interface I3
|
||||
|
||||
object J1
|
||||
object J2
|
||||
|
||||
enum class K1 { FOO, BAR, BAZ }
|
||||
}
|
||||
|
||||
interface L {
|
||||
class M1
|
||||
class M2
|
||||
class M3
|
||||
class M4
|
||||
class M5
|
||||
|
||||
interface N1
|
||||
interface N2
|
||||
interface N3
|
||||
|
||||
object O1
|
||||
object O2
|
||||
|
||||
enum class P1 { FOO, BAR, BAZ }
|
||||
}
|
||||
|
||||
object R {
|
||||
class S1
|
||||
class S2
|
||||
class S3
|
||||
class S4
|
||||
|
||||
interface T1
|
||||
interface T2
|
||||
interface T3
|
||||
|
||||
object U1
|
||||
object U2
|
||||
|
||||
enum class V1 { FOO, BAR, BAZ }
|
||||
}
|
||||
|
||||
class W {
|
||||
object X {
|
||||
interface Y {
|
||||
class Z {
|
||||
enum class AA { FOO, BAR, BAZ }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class BB1 { companion object }
|
||||
class BB2 { companion object }
|
||||
|
||||
class CC1 { companion object DD1 }
|
||||
class CC2 { companion object DD2 }
|
||||
class CC3 { companion object DD3 }
|
||||
|
||||
inline class EE1(val value: String)
|
||||
inline class EE2(val value: String)
|
||||
|
||||
external class FF1(val property1: String) {
|
||||
val property2 = property1
|
||||
val property3 get() = property1
|
||||
val property4: String
|
||||
|
||||
fun function1() = property1
|
||||
fun function2(): String
|
||||
}
|
||||
external class FF2()
|
||||
|
||||
sealed class GG1
|
||||
sealed class GG2 {
|
||||
class HH1 : GG2()
|
||||
object HH2 : GG2()
|
||||
class HH3 : GG2()
|
||||
}
|
||||
|
||||
class HH5 : GG2()
|
||||
object HH6 : GG2()
|
||||
class HH7 : GG2()
|
||||
|
||||
enum class II1
|
||||
enum class II2 { FOO, BAR }
|
||||
|
||||
interface JJ {
|
||||
val property: String
|
||||
fun function(): String
|
||||
}
|
||||
|
||||
class KK1(override val property: String) : JJ {
|
||||
override fun function() = property
|
||||
}
|
||||
|
||||
class KK2(private val wrapped: JJ) : JJ by wrapped
|
||||
|
||||
data class LL1(val value: String)
|
||||
data class LL2(val value: String)
|
||||
+135
@@ -0,0 +1,135 @@
|
||||
class A1
|
||||
interface A2
|
||||
annotation class A3
|
||||
object A4
|
||||
enum class A5 { FOO, BAR, BAZ }
|
||||
|
||||
interface B1
|
||||
annotation class B2
|
||||
object B3
|
||||
enum class B4 { FOO, BAR, BAZ }
|
||||
|
||||
annotation class C1
|
||||
object C2
|
||||
enum class C3 { FOO, BAR, BAZ }
|
||||
|
||||
object D1
|
||||
enum class D2 { FOO, BAR, BAZ }
|
||||
|
||||
enum class E1 { FOO, BAR, BAZ }
|
||||
|
||||
class F {
|
||||
inner class G1
|
||||
class G2
|
||||
interface G3
|
||||
object G4
|
||||
enum class G5 { FOO, BAR, BAZ }
|
||||
companion object G6
|
||||
|
||||
class H1
|
||||
interface H2
|
||||
object H3
|
||||
enum class H4 { FOO, BAR, BAZ }
|
||||
|
||||
interface I1
|
||||
object I2
|
||||
enum class I3 { FOO, BAR, BAZ }
|
||||
|
||||
object J1
|
||||
enum class J2 { FOO, BAR, BAZ }
|
||||
|
||||
enum class K1 { FOO, BAR, BAZ }
|
||||
}
|
||||
|
||||
interface L {
|
||||
class M1
|
||||
interface M2
|
||||
object M3
|
||||
enum class M4 { FOO, BAR, BAZ }
|
||||
companion object M5
|
||||
|
||||
interface N1
|
||||
object N2
|
||||
enum class N3 { FOO, BAR, BAZ }
|
||||
|
||||
object O1
|
||||
enum class O2 { FOO, BAR, BAZ }
|
||||
|
||||
enum class P1 { FOO, BAR, BAZ }
|
||||
}
|
||||
|
||||
object R {
|
||||
class S1
|
||||
interface S2
|
||||
object S3
|
||||
enum class S4 { FOO, BAR, BAZ }
|
||||
|
||||
interface T1
|
||||
object T2
|
||||
enum class T3 { FOO, BAR, BAZ }
|
||||
|
||||
object U1
|
||||
enum class U2 { FOO, BAR, BAZ }
|
||||
|
||||
enum class V1 { FOO, BAR, BAZ }
|
||||
}
|
||||
|
||||
class W {
|
||||
object X {
|
||||
interface Y {
|
||||
class Z {
|
||||
enum class AA { FOO, BAR, BAZ }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class BB1 { companion object }
|
||||
class BB2
|
||||
|
||||
class CC1 { companion object DD1 }
|
||||
class CC2 { companion object CompanionWithAnotherName }
|
||||
class CC3 { companion object }
|
||||
|
||||
inline class EE1(val value: String)
|
||||
class EE2(val value: String)
|
||||
|
||||
class FF1(val property1: String) {
|
||||
val property2 = property1
|
||||
val property3 get() = property1
|
||||
val property4 = property1
|
||||
|
||||
fun function1() = property1
|
||||
fun function2() = function1()
|
||||
}
|
||||
external class FF2()
|
||||
|
||||
sealed class GG1
|
||||
sealed class GG2 {
|
||||
class HH1 : GG2()
|
||||
object HH2 : GG2()
|
||||
class HH4 : GG2()
|
||||
}
|
||||
|
||||
class HH5 : GG2()
|
||||
object HH6 : GG2()
|
||||
class HH8 : GG2()
|
||||
|
||||
enum class II1
|
||||
enum class II2 { FOO, BAZ }
|
||||
|
||||
interface JJ {
|
||||
val property: String
|
||||
val property2: String
|
||||
fun function(): String
|
||||
}
|
||||
|
||||
class KK1(override val property: String) : JJ {
|
||||
val property2 = property
|
||||
override fun function() = property
|
||||
}
|
||||
|
||||
class KK2(wrapped: JJ) : JJ by wrapped
|
||||
|
||||
data class LL1(val value: String)
|
||||
class LL2(val value: String)
|
||||
Vendored
+30
@@ -0,0 +1,30 @@
|
||||
expect class A1(text: String) { constructor(number: Int) }
|
||||
expect class A2(text: String) { constructor(number: Int) }
|
||||
expect class A3
|
||||
expect class A4
|
||||
expect class A5
|
||||
|
||||
expect class B1 protected constructor(text: String) { protected constructor(number: Int) }
|
||||
expect class B2
|
||||
expect class B3
|
||||
|
||||
expect class C1 internal constructor(text: String) { internal constructor(number: Int) }
|
||||
expect class C2
|
||||
|
||||
expect class D1
|
||||
|
||||
expect class E {
|
||||
constructor(a: Any)
|
||||
|
||||
constructor(a: Any, b: String)
|
||||
constructor(a: Any, b: Int)
|
||||
}
|
||||
|
||||
expect enum class F {
|
||||
FOO,
|
||||
BAR,
|
||||
BAZ;
|
||||
|
||||
// no constructor allowed for enum class
|
||||
val alias: String
|
||||
}
|
||||
Vendored
+30
@@ -0,0 +1,30 @@
|
||||
actual class A1 actual constructor(text: String) { actual constructor(number: Int) : this(number.toString()) }
|
||||
actual class A2 actual constructor(text: String) { actual constructor(number: Int) : this(number.toString()) }
|
||||
actual class A3(text: String) { constructor(number: Int) : this(number.toString()) }
|
||||
actual class A4(text: String) { constructor(number: Int) : this(number.toString()) }
|
||||
actual class A5(text: String) { constructor(number: Int) : this(number.toString()) }
|
||||
|
||||
actual class B1 protected actual constructor(text: String) { protected actual constructor(number: Int) : this(number.toString()) }
|
||||
actual class B2 protected constructor(text: String) { protected constructor(number: Int) : this(number.toString()) }
|
||||
actual class B3 protected constructor(text: String) { protected constructor(number: Int) : this(number.toString()) }
|
||||
|
||||
actual class C1 internal actual constructor(text: String) { internal actual constructor(number: Int) : this(number.toString()) }
|
||||
actual class C2 internal constructor(text: String) { internal constructor(number: Int) : this(number.toString()) }
|
||||
|
||||
actual class D1 private constructor(text: String) { private constructor(number: Int) : this(number.toString()) }
|
||||
|
||||
actual class E {
|
||||
constructor(a: Int)
|
||||
actual constructor(a: Any)
|
||||
|
||||
constructor(a: Int, b: String)
|
||||
constructor(a: Int, b: Any)
|
||||
actual constructor(a: Any, b: String)
|
||||
actual constructor(a: Any, b: Int)
|
||||
}
|
||||
|
||||
actual enum class F(actual val alias: String) {
|
||||
FOO("foo"),
|
||||
BAR("bar"),
|
||||
BAZ("baz")
|
||||
}
|
||||
Vendored
+30
@@ -0,0 +1,30 @@
|
||||
actual class A1 actual constructor(text: String) { actual constructor(number: Int) : this(number.toString()) }
|
||||
actual class A2 actual constructor(text: String) { actual constructor(number: Int) : this(number.toString()) }
|
||||
actual class A3 protected constructor(text: String) { protected constructor(number: Int) : this(number.toString()) }
|
||||
actual class A4 internal constructor(text: String) { internal constructor(number: Int) : this(number.toString()) }
|
||||
actual class A5 private constructor(text: String) { private constructor(number: Int) : this(number.toString()) }
|
||||
|
||||
actual class B1 protected actual constructor(text: String) { protected actual constructor(number: Int) : this(number.toString()) }
|
||||
actual class B2 internal constructor(text: String) { internal constructor(number: Int) : this(number.toString()) }
|
||||
actual class B3 private constructor(text: String) { private constructor(number: Int) : this(number.toString()) }
|
||||
|
||||
actual class C1 internal actual constructor(text: String) { internal actual constructor(number: Int) : this(number.toString()) }
|
||||
actual class C2 private constructor(text: String) { private constructor(number: Int) : this(number.toString()) }
|
||||
|
||||
actual class D1 private constructor(text: String) { private constructor(number: Int) : this(number.toString()) }
|
||||
|
||||
actual class E {
|
||||
constructor(a: String)
|
||||
actual constructor(a: Any)
|
||||
|
||||
constructor(a: String, b: Int)
|
||||
constructor(a: String, b: Any)
|
||||
actual constructor(a: Any, b: String)
|
||||
actual constructor(a: Any, b: Int)
|
||||
}
|
||||
|
||||
actual enum class F(actual val alias: String) {
|
||||
FOO("foo"),
|
||||
BAR("bar"),
|
||||
BAZ("baz")
|
||||
}
|
||||
Vendored
+30
@@ -0,0 +1,30 @@
|
||||
class A1(text: String) { constructor(number: Int) : this(number.toString()) }
|
||||
class A2(text: String) { constructor(number: Int) : this(number.toString()) }
|
||||
class A3(text: String) { constructor(number: Int) : this(number.toString()) }
|
||||
class A4(text: String) { constructor(number: Int) : this(number.toString()) }
|
||||
class A5(text: String) { constructor(number: Int) : this(number.toString()) }
|
||||
|
||||
class B1 protected constructor(text: String) { protected constructor(number: Int) : this(number.toString()) }
|
||||
class B2 protected constructor(text: String) { protected constructor(number: Int) : this(number.toString()) }
|
||||
class B3 protected constructor(text: String) { protected constructor(number: Int) : this(number.toString()) }
|
||||
|
||||
class C1 internal constructor(text: String) { internal constructor(number: Int) : this(number.toString()) }
|
||||
class C2 internal constructor(text: String) { internal constructor(number: Int) : this(number.toString()) }
|
||||
|
||||
class D1 private constructor(text: String) { private constructor(number: Int) : this(number.toString()) }
|
||||
|
||||
class E {
|
||||
constructor(a: Int)
|
||||
constructor(a: Any)
|
||||
|
||||
constructor(a: Int, b: String)
|
||||
constructor(a: Int, b: Any)
|
||||
constructor(a: Any, b: String)
|
||||
constructor(a: Any, b: Int)
|
||||
}
|
||||
|
||||
enum class F(val alias: String) {
|
||||
FOO("foo"),
|
||||
BAR("bar"),
|
||||
BAZ("baz")
|
||||
}
|
||||
Vendored
+30
@@ -0,0 +1,30 @@
|
||||
class A1(text: String) { constructor(number: Int) : this(number.toString()) }
|
||||
class A2 constructor(text: String) { constructor(number: Int) : this(number.toString()) }
|
||||
class A3 protected constructor(text: String) { protected constructor(number: Int) : this(number.toString()) }
|
||||
class A4 internal constructor(text: String) { internal constructor(number: Int) : this(number.toString()) }
|
||||
class A5 private constructor(text: String) { private constructor(number: Int) : this(number.toString()) }
|
||||
|
||||
class B1 protected constructor(text: String) { protected constructor(number: Int) : this(number.toString()) }
|
||||
class B2 internal constructor(text: String) { internal constructor(number: Int) : this(number.toString()) }
|
||||
class B3 private constructor(text: String) { private constructor(number: Int) : this(number.toString()) }
|
||||
|
||||
class C1 internal constructor(text: String) { internal constructor(number: Int) : this(number.toString()) }
|
||||
class C2 private constructor(text: String) { private constructor(number: Int) : this(number.toString()) }
|
||||
|
||||
class D1 private constructor(text: String) { private constructor(number: Int) : this(number.toString()) }
|
||||
|
||||
class E {
|
||||
constructor(a: String)
|
||||
constructor(a: Any)
|
||||
|
||||
constructor(a: String, b: Int)
|
||||
constructor(a: String, b: Any)
|
||||
constructor(a: Any, b: String)
|
||||
constructor(a: Any, b: Int)
|
||||
}
|
||||
|
||||
enum class F(val alias: String) {
|
||||
FOO("foo"),
|
||||
BAR("bar"),
|
||||
BAZ("baz")
|
||||
}
|
||||
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
expect final class A1()
|
||||
expect final class A2()
|
||||
expect open class B1()
|
||||
expect abstract class C1()
|
||||
expect sealed class D1
|
||||
|
||||
expect abstract class E() {
|
||||
final val p1: Int
|
||||
final val p2: Int
|
||||
open val p4: Int
|
||||
abstract val p6: Int
|
||||
|
||||
final fun f1(): Int
|
||||
final fun f2(): Int
|
||||
open fun f4(): Int
|
||||
abstract fun f6(): Int
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
actual final class A1 actual constructor()
|
||||
actual final class A2 actual constructor()
|
||||
final class A3
|
||||
final class A4
|
||||
|
||||
actual open class B1 actual constructor()
|
||||
open class B2
|
||||
open class B3
|
||||
|
||||
actual abstract class C1 actual constructor()
|
||||
abstract class C2
|
||||
|
||||
actual sealed class D1
|
||||
|
||||
actual abstract class E actual constructor() {
|
||||
actual final val p1: Int = 1
|
||||
actual final val p2: Int = 1
|
||||
final val p3: Int = 1
|
||||
|
||||
actual open val p4: Int = 1
|
||||
open val p5: Int = 1
|
||||
|
||||
actual abstract val p6: Int
|
||||
|
||||
actual final fun f1(): Int = 1
|
||||
actual final fun f2(): Int = 1
|
||||
final fun f3(): Int = 1
|
||||
|
||||
actual open fun f4(): Int = 1
|
||||
open fun f5(): Int = 1
|
||||
|
||||
actual abstract fun f6(): Int
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
actual final class A1 actual constructor()
|
||||
actual open class A2 actual constructor()
|
||||
abstract class A3
|
||||
sealed class A4
|
||||
|
||||
actual open class B1 actual constructor()
|
||||
abstract class B2
|
||||
sealed class B3
|
||||
|
||||
actual abstract class C1 actual constructor()
|
||||
sealed class C2
|
||||
|
||||
actual sealed class D1
|
||||
|
||||
actual abstract class E actual constructor() {
|
||||
actual final val p1: Int = 1
|
||||
actual open val p2: Int = 1
|
||||
abstract val p3: Int
|
||||
|
||||
actual open val p4: Int = 1
|
||||
abstract val p5: Int
|
||||
|
||||
actual abstract val p6: Int
|
||||
|
||||
actual final fun f1(): Int = 1
|
||||
actual open fun f2(): Int = 1
|
||||
abstract fun f3(): Int
|
||||
|
||||
actual open fun f4(): Int = 1
|
||||
abstract fun f5(): Int
|
||||
|
||||
actual abstract fun f6(): Int
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
final class A1
|
||||
final class A2
|
||||
final class A3
|
||||
final class A4
|
||||
|
||||
open class B1
|
||||
open class B2
|
||||
open class B3
|
||||
|
||||
abstract class C1
|
||||
abstract class C2
|
||||
|
||||
sealed class D1
|
||||
|
||||
abstract class E {
|
||||
final val p1: Int = 1
|
||||
final val p2: Int = 1
|
||||
final val p3: Int = 1
|
||||
|
||||
open val p4: Int = 1
|
||||
open val p5: Int = 1
|
||||
|
||||
abstract val p6: Int
|
||||
|
||||
final fun f1(): Int = 1
|
||||
final fun f2(): Int = 1
|
||||
final fun f3(): Int = 1
|
||||
|
||||
open fun f4(): Int = 1
|
||||
open fun f5(): Int = 1
|
||||
|
||||
abstract fun f6(): Int
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
final class A1
|
||||
open class A2
|
||||
abstract class A3
|
||||
sealed class A4
|
||||
|
||||
open class B1
|
||||
abstract class B2
|
||||
sealed class B3
|
||||
|
||||
abstract class C1
|
||||
sealed class C2
|
||||
|
||||
sealed class D1
|
||||
|
||||
abstract class E {
|
||||
final val p1: Int = 1
|
||||
open val p2: Int = 1
|
||||
abstract val p3: Int
|
||||
|
||||
open val p4: Int = 1
|
||||
abstract val p5: Int
|
||||
|
||||
abstract val p6: Int
|
||||
|
||||
final fun f1(): Int = 1
|
||||
open fun f2(): Int = 1
|
||||
abstract fun f3(): Int
|
||||
|
||||
open fun f4(): Int = 1
|
||||
abstract fun f5(): Int
|
||||
|
||||
abstract fun f6(): Int
|
||||
}
|
||||
Vendored
+64
@@ -0,0 +1,64 @@
|
||||
expect interface A1 {
|
||||
val property1: Int
|
||||
fun function1(): Int
|
||||
}
|
||||
|
||||
expect abstract class A2(): A1 {
|
||||
abstract val property2: Int
|
||||
abstract fun function2(): Int
|
||||
}
|
||||
|
||||
expect class A3 (): A2 {
|
||||
override val property1: Int
|
||||
override val property2: Int
|
||||
val property3: Int
|
||||
|
||||
override fun function1(): Int
|
||||
override fun function2(): Int
|
||||
fun function3(): Int
|
||||
}
|
||||
|
||||
expect interface B1 {
|
||||
val property1: Int
|
||||
fun function1(): Int
|
||||
}
|
||||
|
||||
expect class B3(): B1 {
|
||||
override val property1: Int
|
||||
open val property2: Int
|
||||
val property3: Int
|
||||
|
||||
override fun function1(): Int
|
||||
open fun function2(): Int
|
||||
fun function3(): Int
|
||||
}
|
||||
|
||||
expect interface C1 {
|
||||
val property1: Int
|
||||
fun function1(): Int
|
||||
}
|
||||
|
||||
expect class C3 (): C1 {
|
||||
override val property1: Int
|
||||
val property2: Int
|
||||
val property3: Int
|
||||
|
||||
override fun function1(): Int
|
||||
fun function2(): Int
|
||||
fun function3(): Int
|
||||
}
|
||||
|
||||
expect interface D2 {
|
||||
val property2: Int
|
||||
fun function2(): Int
|
||||
}
|
||||
|
||||
expect class D3(): D2 {
|
||||
open val property1: Int
|
||||
override val property2: Int
|
||||
val property3: Int
|
||||
|
||||
open fun function1(): Int
|
||||
override fun function2(): Int
|
||||
fun function3(): Int
|
||||
}
|
||||
Vendored
+79
@@ -0,0 +1,79 @@
|
||||
actual interface A1 {
|
||||
actual val property1: Int
|
||||
actual fun function1(): Int
|
||||
}
|
||||
|
||||
actual abstract class A2 actual constructor(): A1 {
|
||||
actual abstract val property2: Int
|
||||
actual abstract fun function2(): Int
|
||||
}
|
||||
|
||||
actual class A3 actual constructor(): A2() {
|
||||
actual override val property1 = 1
|
||||
actual override val property2 = 1
|
||||
actual val property3 = 1
|
||||
|
||||
actual override fun function1() = 1
|
||||
actual override fun function2() = 1
|
||||
actual fun function3() = 1
|
||||
}
|
||||
|
||||
actual interface B1 {
|
||||
actual val property1: Int
|
||||
actual fun function1(): Int
|
||||
}
|
||||
|
||||
interface B2 {
|
||||
val property2: Int
|
||||
fun function2(): Int
|
||||
}
|
||||
|
||||
actual class B3 actual constructor(): B1, B2 {
|
||||
actual override val property1 = 1
|
||||
actual override val property2 = 1
|
||||
actual val property3 = 1
|
||||
|
||||
actual override fun function1() = 1
|
||||
actual override fun function2() = 1
|
||||
actual fun function3() = 1
|
||||
}
|
||||
|
||||
actual interface C1 {
|
||||
actual val property1: Int
|
||||
actual fun function1(): Int
|
||||
}
|
||||
|
||||
interface C2 {
|
||||
val property2: Int
|
||||
fun function2(): Int
|
||||
}
|
||||
|
||||
actual class C3 actual constructor(): C1, C2 {
|
||||
actual override val property1 = 1
|
||||
actual override val property2 = 1
|
||||
actual val property3 = 1
|
||||
|
||||
actual override fun function1() = 1
|
||||
actual override fun function2() = 1
|
||||
actual fun function3() = 1
|
||||
}
|
||||
|
||||
interface D1 {
|
||||
val property1: Int
|
||||
fun function1(): Int
|
||||
}
|
||||
|
||||
actual interface D2 {
|
||||
actual val property2: Int
|
||||
actual fun function2(): Int
|
||||
}
|
||||
|
||||
actual class D3 actual constructor(): D1, D2 {
|
||||
actual override val property1 = 1
|
||||
actual override val property2 = 1
|
||||
actual val property3 = 1
|
||||
|
||||
actual override fun function1() = 1
|
||||
actual override fun function2() = 1
|
||||
actual fun function3() = 1
|
||||
}
|
||||
Vendored
+72
@@ -0,0 +1,72 @@
|
||||
actual interface A1 {
|
||||
actual val property1: Int
|
||||
actual fun function1(): Int
|
||||
}
|
||||
|
||||
actual abstract class A2 actual constructor(): A1 {
|
||||
actual abstract val property2: Int
|
||||
actual abstract fun function2(): Int
|
||||
}
|
||||
|
||||
actual class A3 actual constructor(): A2(), A1 {
|
||||
actual override val property1 = 1
|
||||
actual override val property2 = 1
|
||||
actual val property3 = 1
|
||||
|
||||
actual override fun function1() = 1
|
||||
actual override fun function2() = 1
|
||||
actual fun function3() = 1
|
||||
}
|
||||
|
||||
actual interface B1 {
|
||||
actual val property1: Int
|
||||
val property2: Int
|
||||
|
||||
actual fun function1(): Int
|
||||
fun function2(): Int
|
||||
}
|
||||
|
||||
actual class B3 actual constructor(): B1 {
|
||||
actual override val property1 = 1
|
||||
actual override val property2 = 1
|
||||
actual val property3 = 1
|
||||
|
||||
actual override fun function1() = 1
|
||||
actual override fun function2() = 1
|
||||
actual fun function3() = 1
|
||||
}
|
||||
|
||||
actual interface C1 {
|
||||
actual val property1: Int
|
||||
actual fun function1(): Int
|
||||
}
|
||||
|
||||
actual class C3 actual constructor(): C1 {
|
||||
actual override val property1 = 1
|
||||
actual val property2 = 1
|
||||
actual val property3 = 1
|
||||
|
||||
actual override fun function1() = 1
|
||||
actual fun function2() = 1
|
||||
actual fun function3() = 1
|
||||
}
|
||||
|
||||
abstract class D1 {
|
||||
abstract val property1: Int
|
||||
abstract fun function1(): Int
|
||||
}
|
||||
|
||||
actual interface D2 {
|
||||
actual val property2: Int
|
||||
actual fun function2(): Int
|
||||
}
|
||||
|
||||
actual class D3 actual constructor(): D1(), D2 {
|
||||
actual override val property1 = 1
|
||||
actual override val property2 = 1
|
||||
actual val property3 = 1
|
||||
|
||||
actual override fun function1() = 1
|
||||
actual override fun function2() = 1
|
||||
actual fun function3() = 1
|
||||
}
|
||||
+79
@@ -0,0 +1,79 @@
|
||||
interface A1 {
|
||||
val property1: Int
|
||||
fun function1(): Int
|
||||
}
|
||||
|
||||
abstract class A2 : A1 {
|
||||
abstract val property2: Int
|
||||
abstract fun function2(): Int
|
||||
}
|
||||
|
||||
class A3 : A2() {
|
||||
override val property1 = 1
|
||||
override val property2 = 1
|
||||
val property3 = 1
|
||||
|
||||
override fun function1() = 1
|
||||
override fun function2() = 1
|
||||
fun function3() = 1
|
||||
}
|
||||
|
||||
interface B1 {
|
||||
val property1: Int
|
||||
fun function1(): Int
|
||||
}
|
||||
|
||||
interface B2 {
|
||||
val property2: Int
|
||||
fun function2(): Int
|
||||
}
|
||||
|
||||
class B3 : B1, B2 {
|
||||
override val property1 = 1
|
||||
override val property2 = 1
|
||||
val property3 = 1
|
||||
|
||||
override fun function1() = 1
|
||||
override fun function2() = 1
|
||||
fun function3() = 1
|
||||
}
|
||||
|
||||
interface C1 {
|
||||
val property1: Int
|
||||
fun function1(): Int
|
||||
}
|
||||
|
||||
interface C2 {
|
||||
val property2: Int
|
||||
fun function2(): Int
|
||||
}
|
||||
|
||||
class C3 : C1, C2 {
|
||||
override val property1 = 1
|
||||
override val property2 = 1
|
||||
val property3 = 1
|
||||
|
||||
override fun function1() = 1
|
||||
override fun function2() = 1
|
||||
fun function3() = 1
|
||||
}
|
||||
|
||||
interface D1 {
|
||||
val property1: Int
|
||||
fun function1(): Int
|
||||
}
|
||||
|
||||
interface D2 {
|
||||
val property2: Int
|
||||
fun function2(): Int
|
||||
}
|
||||
|
||||
class D3 : D1, D2 {
|
||||
override val property1 = 1
|
||||
override val property2 = 1
|
||||
val property3 = 1
|
||||
|
||||
override fun function1() = 1
|
||||
override fun function2() = 1
|
||||
fun function3() = 1
|
||||
}
|
||||
+72
@@ -0,0 +1,72 @@
|
||||
interface A1 {
|
||||
val property1: Int
|
||||
fun function1(): Int
|
||||
}
|
||||
|
||||
abstract class A2 : A1 {
|
||||
abstract val property2: Int
|
||||
abstract fun function2(): Int
|
||||
}
|
||||
|
||||
class A3 : A2(), A1 {
|
||||
override val property1 = 1
|
||||
override val property2 = 1
|
||||
val property3 = 1
|
||||
|
||||
override fun function1() = 1
|
||||
override fun function2() = 1
|
||||
fun function3() = 1
|
||||
}
|
||||
|
||||
interface B1 {
|
||||
val property1: Int
|
||||
val property2: Int
|
||||
|
||||
fun function1(): Int
|
||||
fun function2(): Int
|
||||
}
|
||||
|
||||
class B3 : B1 {
|
||||
override val property1 = 1
|
||||
override val property2 = 1
|
||||
val property3 = 1
|
||||
|
||||
override fun function1() = 1
|
||||
override fun function2() = 1
|
||||
fun function3() = 1
|
||||
}
|
||||
|
||||
interface C1 {
|
||||
val property1: Int
|
||||
fun function1(): Int
|
||||
}
|
||||
|
||||
class C3 : C1 {
|
||||
override val property1 = 1
|
||||
val property2 = 1
|
||||
val property3 = 1
|
||||
|
||||
override fun function1() = 1
|
||||
fun function2() = 1
|
||||
fun function3() = 1
|
||||
}
|
||||
|
||||
abstract class D1 {
|
||||
abstract val property1: Int
|
||||
abstract fun function1(): Int
|
||||
}
|
||||
|
||||
interface D2 {
|
||||
val property2: Int
|
||||
fun function2(): Int
|
||||
}
|
||||
|
||||
class D3 : D1(), D2 {
|
||||
override val property1 = 1
|
||||
override val property2 = 1
|
||||
val property3 = 1
|
||||
|
||||
override fun function1() = 1
|
||||
override fun function2() = 1
|
||||
fun function3() = 1
|
||||
}
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
expect class A ()
|
||||
expect class B
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
actual class A actual constructor()
|
||||
actual typealias B = A
|
||||
typealias C = B
|
||||
typealias D = List<String>
|
||||
typealias E<T> = List<T>
|
||||
typealias F<R> = Function<R>
|
||||
typealias G = () -> Unit
|
||||
typealias H = (String) -> Int
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
actual class A actual constructor()
|
||||
actual typealias B = A
|
||||
typealias C = B
|
||||
typealias D = List<String>
|
||||
typealias E<T> = List<T>
|
||||
typealias F<R> = Function<R>
|
||||
typealias G = () -> Unit
|
||||
typealias H = (String) -> Int
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
class A
|
||||
typealias B = A
|
||||
typealias C = B
|
||||
typealias D = List<String>
|
||||
typealias E<T> = List<T>
|
||||
typealias F<R> = Function<R>
|
||||
typealias G = () -> Unit
|
||||
typealias H = (String) -> Int
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
class A
|
||||
typealias B = A
|
||||
typealias C = B
|
||||
typealias D = List<String>
|
||||
typealias E<T> = List<T>
|
||||
typealias F<R> = Function<R>
|
||||
typealias G = () -> Unit
|
||||
typealias H = (String) -> Int
|
||||
Vendored
+149
@@ -0,0 +1,149 @@
|
||||
expect class A2<T : Any?>() {
|
||||
val property: T
|
||||
fun function(value: T): T
|
||||
|
||||
expect class Nested<T : Any?>() {
|
||||
val property: T
|
||||
fun function(value: T): T
|
||||
}
|
||||
|
||||
expect inner class Inner() {
|
||||
val property: T
|
||||
fun function(value: T): T
|
||||
}
|
||||
}
|
||||
expect class B4<T : Any>() {
|
||||
val property: T
|
||||
fun function(value: T): T
|
||||
|
||||
expect class Nested<T : Any>() {
|
||||
val property: T
|
||||
fun function(value: T): T
|
||||
}
|
||||
|
||||
expect inner class Inner() {
|
||||
val property: T
|
||||
fun function(value: T): T
|
||||
}
|
||||
}
|
||||
expect class C5<T : CharSequence>() {
|
||||
val property: T
|
||||
fun function(value: T): T
|
||||
|
||||
expect class Nested<T : CharSequence>() {
|
||||
val property: T
|
||||
fun function(value: T): T
|
||||
}
|
||||
|
||||
expect inner class Inner() {
|
||||
val property: T
|
||||
fun function(value: T): T
|
||||
}
|
||||
}
|
||||
expect class D6<T : String>() {
|
||||
val property: T
|
||||
fun function(value: T): T
|
||||
|
||||
expect class Nested<T : String>() {
|
||||
val property: T
|
||||
fun function(value: T): T
|
||||
}
|
||||
|
||||
expect inner class Inner() {
|
||||
val property: T
|
||||
fun function(value: T): T
|
||||
}
|
||||
}
|
||||
expect class E7<String>() {
|
||||
val property: String
|
||||
fun function(value: String): String
|
||||
|
||||
expect class Nested<String>() {
|
||||
val property: String
|
||||
fun function(value: String): String
|
||||
}
|
||||
|
||||
expect inner class Inner() {
|
||||
val property: String
|
||||
fun function(value: String): String
|
||||
}
|
||||
}
|
||||
expect class F1<T>() {
|
||||
val property: T
|
||||
fun function(value: T): T
|
||||
|
||||
expect class Nested<T>() {
|
||||
val property: T
|
||||
fun function(value: T): T
|
||||
}
|
||||
|
||||
expect inner class Inner() {
|
||||
val property: T
|
||||
fun function(value: T): T
|
||||
}
|
||||
}
|
||||
expect class G1<T, R>() {
|
||||
val property1: T
|
||||
val property2: R
|
||||
fun function(value: T): R
|
||||
|
||||
expect class Nested<T, R>() {
|
||||
val property1: T
|
||||
val property2: R
|
||||
fun function(value: T): R
|
||||
}
|
||||
|
||||
expect inner class Inner() {
|
||||
val property1: T
|
||||
val property2: R
|
||||
fun function(value: T): R
|
||||
}
|
||||
}
|
||||
|
||||
expect class H1<T>() {
|
||||
val dependentProperty: T
|
||||
fun dependentFunction(value: T): T
|
||||
|
||||
val T.dependentExtensionProperty: T
|
||||
fun T.dependentExtensionFunction(): T
|
||||
|
||||
fun <T> independentFunction(): T
|
||||
|
||||
val <T> T.independentExtensionProperty: T
|
||||
fun <T> T.independentExtensionFunction(): T
|
||||
}
|
||||
expect class H2<T>() {
|
||||
val dependentProperty: T
|
||||
fun dependentFunction(value: T): T
|
||||
|
||||
val T.dependentExtensionProperty: T
|
||||
fun T.dependentExtensionFunction(): T
|
||||
}
|
||||
|
||||
expect class I<T : I<T>>() {
|
||||
val property: T
|
||||
fun function(value: T): T
|
||||
}
|
||||
|
||||
expect interface J1<A> {
|
||||
fun a(): A
|
||||
}
|
||||
expect interface J2<A, B> {
|
||||
fun a(b: B): A
|
||||
fun b(a: A): B
|
||||
}
|
||||
expect interface J3<A, B, C> {
|
||||
fun a(b: B, c: C): A
|
||||
fun b(a: A, c: C): B
|
||||
fun c(a: A, b: B): C
|
||||
}
|
||||
|
||||
expect class K<A, B : A, C : J1<B>, D : J2<C, A>>() : J3<D, C, B> {
|
||||
override fun a(b: C, c: B): D
|
||||
override fun b(a: D, c: B): C
|
||||
override fun c(a: D, b: C): B
|
||||
inner class Inner<C, D : C, E : J2<C, D>>() {
|
||||
fun dependentFunction(value: A): E
|
||||
fun <A : CharSequence, E : Number> independentFunction(value: A): E
|
||||
}
|
||||
}
|
||||
Vendored
+659
@@ -0,0 +1,659 @@
|
||||
class A1<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
actual class A2<T> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
|
||||
actual class Nested<T> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
|
||||
actual inner class Inner actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A3<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A4<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A5<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A6<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A7<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
|
||||
class B1<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B2<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B3<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
actual class B4<T : Any> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
|
||||
actual class Nested<T : Any> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
|
||||
actual inner class Inner actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B5<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B6<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B7<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
|
||||
class C1<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class C2<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class C3<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class C4<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
actual class C5<T : CharSequence> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
|
||||
actual class Nested<T : CharSequence> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
|
||||
actual inner class Inner actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class C6<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class C7<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
|
||||
class D1<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class D2<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class D3<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class D4<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class D5<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
actual class D6<T : String> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
|
||||
actual class Nested<T : String> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
|
||||
actual inner class Inner actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class D7<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
|
||||
class E1<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
class E2<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
class E3<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
class E4<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
class E5<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
class E6<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
actual class E7<String> actual constructor() {
|
||||
actual val property: String get() = TODO()
|
||||
actual fun function(value: String): String = value
|
||||
|
||||
actual class Nested<String> actual constructor() {
|
||||
actual val property: String get() = TODO()
|
||||
actual fun function(value: String): String = value
|
||||
}
|
||||
|
||||
actual inner class Inner actual constructor() {
|
||||
actual val property: String get() = TODO()
|
||||
actual fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
|
||||
actual class F1<T> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
|
||||
actual class Nested<T> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
|
||||
actual inner class Inner actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class F2<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class F3<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
|
||||
actual class G1<T, R> actual constructor() {
|
||||
actual val property1: T get() = TODO()
|
||||
actual val property2: R get() = TODO()
|
||||
actual fun function(value: T): R = TODO()
|
||||
|
||||
actual class Nested<T, R> actual constructor() {
|
||||
actual val property1: T get() = TODO()
|
||||
actual val property2: R get() = TODO()
|
||||
actual fun function(value: T): R = TODO()
|
||||
}
|
||||
|
||||
actual inner class Inner actual constructor() {
|
||||
actual val property1: T get() = TODO()
|
||||
actual val property2: R get() = TODO()
|
||||
actual fun function(value: T): R = TODO()
|
||||
}
|
||||
}
|
||||
class G2<T, R> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
|
||||
class Nested<T, R> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
}
|
||||
class G3<T, R> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
|
||||
class Nested<T, R> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
}
|
||||
class G4<T, R> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
|
||||
class Nested<T, R> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
}
|
||||
|
||||
actual class H1<T> actual constructor() {
|
||||
actual val dependentProperty: T get() = TODO()
|
||||
actual fun dependentFunction(value: T): T = value
|
||||
|
||||
actual val T.dependentExtensionProperty: T get() = this
|
||||
actual fun T.dependentExtensionFunction(): T = this
|
||||
|
||||
actual fun <T> independentFunction(): T = TODO()
|
||||
|
||||
actual val <T> T.independentExtensionProperty: T get() = this
|
||||
actual fun <T> T.independentExtensionFunction(): T = this
|
||||
}
|
||||
actual class H2<T> actual constructor() {
|
||||
actual val dependentProperty: T get() = TODO()
|
||||
actual fun dependentFunction(value: T): T = value
|
||||
|
||||
actual val T.dependentExtensionProperty: T get() = this
|
||||
actual fun T.dependentExtensionFunction(): T = this
|
||||
|
||||
fun <T> independentFunction(): T = TODO()
|
||||
|
||||
val <T> T.independentExtensionProperty: T get() = this
|
||||
fun <T> T.independentExtensionFunction(): T = this
|
||||
}
|
||||
|
||||
actual class I<T : I<T>> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
|
||||
actual interface J1<A> {
|
||||
actual fun a(): A
|
||||
}
|
||||
actual interface J2<A, B> {
|
||||
actual fun a(b: B): A
|
||||
actual fun b(a: A): B
|
||||
}
|
||||
actual interface J3<A, B, C> {
|
||||
actual fun a(b: B, c: C): A
|
||||
actual fun b(a: A, c: C): B
|
||||
actual fun c(a: A, b: B): C
|
||||
}
|
||||
|
||||
actual class K<A, B : A, C : J1<B>, D : J2<C, A>> actual constructor() : J3<D, C, B> {
|
||||
actual override fun a(b: C, c: B): D = TODO()
|
||||
actual override fun b(a: D, c: B): C = TODO()
|
||||
actual override fun c(a: D, b: C): B = TODO()
|
||||
actual inner class Inner<C, D : C, E : J2<C, D>> actual constructor() {
|
||||
actual fun dependentFunction(value: A): E = TODO()
|
||||
actual fun <A : CharSequence, E : Number> independentFunction(value: A): E = TODO()
|
||||
}
|
||||
}
|
||||
Vendored
+659
@@ -0,0 +1,659 @@
|
||||
class A1 {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
|
||||
class Nested {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
}
|
||||
actual class A2<T : Any?> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
|
||||
actual class Nested<T : Any?> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
|
||||
actual inner class Inner actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A3<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
|
||||
class Nested<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
}
|
||||
class A4<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A5<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A6<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A7<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
|
||||
class B1 {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
|
||||
class Nested {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
}
|
||||
class B2<T : Any?> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any?> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B3<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
|
||||
class Nested<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
}
|
||||
actual class B4<T : Any> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
|
||||
actual class Nested<T : Any> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
|
||||
actual inner class Inner actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B5<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B6<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B7<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
|
||||
class C1 {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
|
||||
class Nested {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
}
|
||||
class C2<T : Any?> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any?>{
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class C3<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
|
||||
class Nested<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
}
|
||||
class C4<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
actual class C5<T : CharSequence> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
|
||||
actual class Nested<T : CharSequence> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
|
||||
actual inner class Inner actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class C6<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class C7<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
|
||||
class D1 {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
|
||||
class Nested {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
}
|
||||
class D2<T : Any?> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any?> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class D3<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
|
||||
class Nested<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
}
|
||||
class D4<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class D5<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
actual class D6<T : String> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
|
||||
actual class Nested<T : String> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
|
||||
actual inner class Inner actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class D7<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
|
||||
class E1 {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
|
||||
class Nested {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
}
|
||||
class E2<T : Any?> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any?> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class E3<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
|
||||
class Nested<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
}
|
||||
class E4<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class E5<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class E6<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
actual class E7<String> actual constructor() {
|
||||
actual val property: String get() = TODO()
|
||||
actual fun function(value: String): String = value
|
||||
|
||||
actual class Nested<String> actual constructor() {
|
||||
actual val property: String get() = TODO()
|
||||
actual fun function(value: String): String = value
|
||||
}
|
||||
|
||||
actual inner class Inner actual constructor() {
|
||||
actual val property: String get() = TODO()
|
||||
actual fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
|
||||
actual class F1<T> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
|
||||
actual class Nested<T> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
|
||||
actual inner class Inner actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class F2<in T> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: T): Any = TODO()
|
||||
|
||||
class Nested<in T> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: T): Any = TODO()
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: T): Any = TODO()
|
||||
}
|
||||
}
|
||||
class F3<out T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: Any): T = TODO()
|
||||
|
||||
class Nested<out T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: Any): T = TODO()
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: Any): T = TODO()
|
||||
}
|
||||
}
|
||||
|
||||
actual class G1<T, R> actual constructor() {
|
||||
actual val property1: T get() = TODO()
|
||||
actual val property2: R get() = TODO()
|
||||
actual fun function(value: T): R = TODO()
|
||||
|
||||
actual class Nested<T, R> actual constructor() {
|
||||
actual val property1: T get() = TODO()
|
||||
actual val property2: R get() = TODO()
|
||||
actual fun function(value: T): R = TODO()
|
||||
}
|
||||
|
||||
actual inner class Inner actual constructor() {
|
||||
actual val property1: T get() = TODO()
|
||||
actual val property2: R get() = TODO()
|
||||
actual fun function(value: T): R = TODO()
|
||||
}
|
||||
}
|
||||
class G2<T> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property1: T get() = TODO()
|
||||
val property2: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class G3<R> {
|
||||
val property1: R get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
|
||||
class Nested<R> {
|
||||
val property1: R get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property1: R get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
}
|
||||
class G4<R, T> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
|
||||
class Nested<R, T> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
}
|
||||
|
||||
actual class H1<T> actual constructor() {
|
||||
actual val dependentProperty: T get() = TODO()
|
||||
actual fun dependentFunction(value: T): T = value
|
||||
|
||||
actual val T.dependentExtensionProperty: T get() = this
|
||||
actual fun T.dependentExtensionFunction(): T = this
|
||||
|
||||
actual fun <T> independentFunction(): T = TODO()
|
||||
|
||||
actual val <T> T.independentExtensionProperty: T get() = this
|
||||
actual fun <T> T.independentExtensionFunction(): T = this
|
||||
}
|
||||
actual class H2<T> actual constructor() {
|
||||
actual val dependentProperty: T get() = TODO()
|
||||
actual fun dependentFunction(value: T): T = value
|
||||
|
||||
actual val T.dependentExtensionProperty: T get() = this
|
||||
actual fun T.dependentExtensionFunction(): T = this
|
||||
|
||||
fun independentFunction(): T = TODO()
|
||||
|
||||
val T.independentExtensionProperty: T get() = this
|
||||
fun T.independentExtensionFunction(): T = this
|
||||
}
|
||||
|
||||
actual class I<T : I<T>> actual constructor() {
|
||||
actual val property: T get() = TODO()
|
||||
actual fun function(value: T): T = value
|
||||
}
|
||||
|
||||
actual interface J1<A> {
|
||||
actual fun a(): A
|
||||
}
|
||||
actual interface J2<A, B> {
|
||||
actual fun a(b: B): A
|
||||
actual fun b(a: A): B
|
||||
}
|
||||
actual interface J3<A, B, C> {
|
||||
actual fun a(b: B, c: C): A
|
||||
actual fun b(a: A, c: C): B
|
||||
actual fun c(a: A, b: B): C
|
||||
}
|
||||
|
||||
actual class K<A, B : A, C : J1<B>, D : J2<C, A>> actual constructor() : J3<D, C, B> {
|
||||
actual override fun a(b: C, c: B): D = TODO()
|
||||
actual override fun b(a: D, c: B): C = TODO()
|
||||
actual override fun c(a: D, b: C): B = TODO()
|
||||
actual inner class Inner<C, D : C, E : J2<C, D>> actual constructor() {
|
||||
actual fun dependentFunction(value: A): E = TODO()
|
||||
actual fun <A : CharSequence, E : Number> independentFunction(value: A): E = TODO()
|
||||
}
|
||||
}
|
||||
Vendored
+659
@@ -0,0 +1,659 @@
|
||||
class A1<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A2<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A3<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A4<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A5<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A6<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A7<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
|
||||
class B1<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B2<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B3<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B4<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B5<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B6<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B7<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
|
||||
class C1<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class C2<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class C3<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class C4<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class C5<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class C6<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class C7<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
|
||||
class D1<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class D2<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class D3<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class D4<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class D5<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class D6<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class D7<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
|
||||
class E1<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
class E2<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
class E3<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
class E4<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
class E5<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
class E6<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
class E7<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
|
||||
class F1<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class F2<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class F3<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
|
||||
class G1<T, R> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
|
||||
class Nested<T, R> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
}
|
||||
class G2<T, R> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
|
||||
class Nested<T, R> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
}
|
||||
class G3<T, R> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
|
||||
class Nested<T, R> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
}
|
||||
class G4<T, R> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
|
||||
class Nested<T, R> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
}
|
||||
|
||||
class H1<T> {
|
||||
val dependentProperty: T get() = TODO()
|
||||
fun dependentFunction(value: T): T = value
|
||||
|
||||
val T.dependentExtensionProperty: T get() = this
|
||||
fun T.dependentExtensionFunction(): T = this
|
||||
|
||||
fun <T> independentFunction(): T = TODO()
|
||||
|
||||
val <T> T.independentExtensionProperty: T get() = this
|
||||
fun <T> T.independentExtensionFunction(): T = this
|
||||
}
|
||||
class H2<T> {
|
||||
val dependentProperty: T get() = TODO()
|
||||
fun dependentFunction(value: T): T = value
|
||||
|
||||
val T.dependentExtensionProperty: T get() = this
|
||||
fun T.dependentExtensionFunction(): T = this
|
||||
|
||||
fun <T> independentFunction(): T = TODO()
|
||||
|
||||
val <T> T.independentExtensionProperty: T get() = this
|
||||
fun <T> T.independentExtensionFunction(): T = this
|
||||
}
|
||||
|
||||
class I<T : I<T>> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
interface J1<A> {
|
||||
actual fun a(): A
|
||||
}
|
||||
interface J2<A, B> {
|
||||
actual fun a(b: B): A
|
||||
actual fun b(a: A): B
|
||||
}
|
||||
interface J3<A, B, C> {
|
||||
actual fun a(b: B, c: C): A
|
||||
actual fun b(a: A, c: C): B
|
||||
actual fun c(a: A, b: B): C
|
||||
}
|
||||
|
||||
class K<A, B : A, C : J1<B>, D : J2<C, A>> : J3<D, C, B> {
|
||||
override fun a(b: C, c: B): D = TODO()
|
||||
override fun b(a: D, c: B): C = TODO()
|
||||
override fun c(a: D, b: C): B = TODO()
|
||||
inner class Inner<C, D : C, E : J2<C, D>> {
|
||||
fun dependentFunction(value: A): E = TODO()
|
||||
fun <A : CharSequence, E : Number> independentFunction(value: A): E = TODO()
|
||||
}
|
||||
}
|
||||
Vendored
+659
@@ -0,0 +1,659 @@
|
||||
class A1 {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
|
||||
class Nested {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
}
|
||||
class A2<T : Any?> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any?> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A3<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
|
||||
class Nested<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
}
|
||||
class A4<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A5<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A6<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class A7<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
|
||||
class B1 {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
|
||||
class Nested {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
}
|
||||
class B2<T : Any?> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any?> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B3<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
|
||||
class Nested<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
}
|
||||
class B4<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B5<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B6<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class B7<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
|
||||
class C1 {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
|
||||
class Nested {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
}
|
||||
class C2<T : Any?> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any?>{
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class C3<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
|
||||
class Nested<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
}
|
||||
class C4<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class C5<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class C6<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class C7<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
|
||||
class D1 {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
|
||||
class Nested {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
}
|
||||
class D2<T : Any?> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any?> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class D3<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
|
||||
class Nested<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
}
|
||||
class D4<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class D5<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class D6<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class D7<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
|
||||
class E1 {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
|
||||
class Nested {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: Any get() = TODO()
|
||||
fun function(value: Any): Any = value
|
||||
}
|
||||
}
|
||||
class E2<T : Any?> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any?> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class E3<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
|
||||
class Nested<R : Any?> {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
}
|
||||
class E4<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : Any> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class E5<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : CharSequence> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class E6<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T : String> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class E7<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
|
||||
class Nested<String> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: String): String = value
|
||||
}
|
||||
}
|
||||
|
||||
class F1<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class F2<in T> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: T): Any = TODO()
|
||||
|
||||
class Nested<in T> {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: T): Any = TODO()
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: String get() = TODO()
|
||||
fun function(value: T): Any = TODO()
|
||||
}
|
||||
}
|
||||
class F3<out T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: Any): T = TODO()
|
||||
|
||||
class Nested<out T> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: Any): T = TODO()
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: Any): T = TODO()
|
||||
}
|
||||
}
|
||||
|
||||
class G1<T, R> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
|
||||
class Nested<T, R> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
}
|
||||
class G2<T> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
|
||||
class Nested<T> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property1: T get() = TODO()
|
||||
val property2: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
}
|
||||
class G3<R> {
|
||||
val property1: R get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
|
||||
class Nested<R> {
|
||||
val property1: R get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property1: R get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: R): R = value
|
||||
}
|
||||
}
|
||||
class G4<R, T> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
|
||||
class Nested<R, T> {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
val property1: T get() = TODO()
|
||||
val property2: R get() = TODO()
|
||||
fun function(value: T): R = TODO()
|
||||
}
|
||||
}
|
||||
|
||||
class H1<T> {
|
||||
val dependentProperty: T get() = TODO()
|
||||
fun dependentFunction(value: T): T = value
|
||||
|
||||
val T.dependentExtensionProperty: T get() = this
|
||||
fun T.dependentExtensionFunction(): T = this
|
||||
|
||||
fun <T> independentFunction(): T = TODO()
|
||||
|
||||
val <T> T.independentExtensionProperty: T get() = this
|
||||
fun <T> T.independentExtensionFunction(): T = this
|
||||
}
|
||||
class H2<T> {
|
||||
val dependentProperty: T get() = TODO()
|
||||
fun dependentFunction(value: T): T = value
|
||||
|
||||
val T.dependentExtensionProperty: T get() = this
|
||||
fun T.dependentExtensionFunction(): T = this
|
||||
|
||||
fun independentFunction(): T = TODO()
|
||||
|
||||
val T.independentExtensionProperty: T get() = this
|
||||
fun T.independentExtensionFunction(): T = this
|
||||
}
|
||||
|
||||
class I<T : I<T>> {
|
||||
val property: T get() = TODO()
|
||||
fun function(value: T): T = value
|
||||
}
|
||||
|
||||
interface J1<A> {
|
||||
actual fun a(): A
|
||||
}
|
||||
interface J2<A, B> {
|
||||
actual fun a(b: B): A
|
||||
actual fun b(a: A): B
|
||||
}
|
||||
interface J3<A, B, C> {
|
||||
actual fun a(b: B, c: C): A
|
||||
actual fun b(a: A, c: C): B
|
||||
actual fun c(a: A, b: B): C
|
||||
}
|
||||
|
||||
class K<A, B : A, C : J1<B>, D : J2<C, A>> : J3<D, C, B> {
|
||||
override fun a(b: C, c: B): D = TODO()
|
||||
override fun b(a: D, c: B): C = TODO()
|
||||
override fun c(a: D, b: C): B = TODO()
|
||||
inner class Inner<C, D : C, E : J2<C, D>> {
|
||||
fun dependentFunction(value: A): E = TODO()
|
||||
fun <A : CharSequence, E : Number> independentFunction(value: A): E = TODO()
|
||||
}
|
||||
}
|
||||
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
expect public class A1()
|
||||
expect protected class B1()
|
||||
expect internal class C1()
|
||||
|
||||
expect public class E1
|
||||
expect protected class E2
|
||||
expect internal class E3
|
||||
expect private class E4
|
||||
|
||||
expect protected class F1
|
||||
expect private class F3
|
||||
|
||||
expect internal class G1
|
||||
expect private class G2
|
||||
|
||||
expect private class H1
|
||||
|
||||
expect public class I1
|
||||
expect public class I2
|
||||
expect public class I3
|
||||
Vendored
+32
@@ -0,0 +1,32 @@
|
||||
actual public class A1 actual constructor()
|
||||
public class A2
|
||||
public class A3
|
||||
public class A4
|
||||
|
||||
actual protected class B1 actual constructor()
|
||||
protected class B2
|
||||
protected class B3
|
||||
|
||||
actual internal class C1 actual constructor()
|
||||
internal class C2
|
||||
|
||||
private class D1
|
||||
|
||||
actual public typealias E1 = A1
|
||||
actual public typealias E2 = A1
|
||||
actual public typealias E3 = A1
|
||||
actual public typealias E4 = A1
|
||||
|
||||
actual protected typealias F1 = A1
|
||||
protected typealias F2 = A1
|
||||
actual protected typealias F3 = A1
|
||||
|
||||
actual internal typealias G1 = A1
|
||||
actual internal typealias G2 = A1
|
||||
|
||||
actual private typealias H1 = A1
|
||||
|
||||
actual public typealias I1 = A1 // points to public
|
||||
actual public typealias I2 = B1 // points to protected
|
||||
actual public typealias I3 = C1 // points to internal
|
||||
public typealias I4 = D1 // points to private
|
||||
Vendored
+32
@@ -0,0 +1,32 @@
|
||||
actual public class A1 actual constructor()
|
||||
protected class A2
|
||||
internal class A3
|
||||
private class A4
|
||||
|
||||
actual protected class B1 actual constructor()
|
||||
internal class B2
|
||||
private class B3
|
||||
|
||||
actual internal class C1 actual constructor()
|
||||
private class C2
|
||||
|
||||
private class D1
|
||||
|
||||
actual public typealias E1 = A1
|
||||
actual protected typealias E2 = A1
|
||||
actual internal typealias E3 = A1
|
||||
actual private typealias E4 = A1
|
||||
|
||||
actual protected typealias F1 = A1
|
||||
internal typealias F2 = A1
|
||||
actual private typealias F3 = A1
|
||||
|
||||
actual internal typealias G1 = A1
|
||||
actual private typealias G2 = A1
|
||||
|
||||
actual private typealias H1 = A1
|
||||
|
||||
actual public typealias I1 = A1 // points to public
|
||||
actual public typealias I2 = B1 // points to protected
|
||||
actual public typealias I3 = C1 // points to internal
|
||||
public typealias I4 = D1 // points to private
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
public class A1
|
||||
public class A2
|
||||
public class A3
|
||||
public class A4
|
||||
|
||||
protected class B1
|
||||
protected class B2
|
||||
protected class B3
|
||||
|
||||
internal class C1
|
||||
internal class C2
|
||||
|
||||
private class D1
|
||||
|
||||
public typealias E1 = A1
|
||||
public typealias E2 = A1
|
||||
public typealias E3 = A1
|
||||
public typealias E4 = A1
|
||||
|
||||
protected typealias F1 = A1
|
||||
protected typealias F2 = A1
|
||||
protected typealias F3 = A1
|
||||
|
||||
internal typealias G1 = A1
|
||||
internal typealias G2 = A1
|
||||
|
||||
private typealias H1 = A1
|
||||
|
||||
public typealias I1 = A1 // points to public
|
||||
public typealias I2 = B1 // points to protected
|
||||
public typealias I3 = C1 // points to internal
|
||||
public typealias I4 = D1 // points to private
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
public class A1
|
||||
protected class A2
|
||||
internal class A3
|
||||
private class A4
|
||||
|
||||
protected class B1
|
||||
internal class B2
|
||||
private class B3
|
||||
|
||||
internal class C1
|
||||
private class C2
|
||||
|
||||
private class D1
|
||||
|
||||
public typealias E1 = A1
|
||||
protected typealias E2 = A1
|
||||
internal typealias E3 = A1
|
||||
private typealias E4 = A1
|
||||
|
||||
protected typealias F1 = A1
|
||||
internal typealias F2 = A1
|
||||
private typealias F3 = A1
|
||||
|
||||
internal typealias G1 = A1
|
||||
private typealias G2 = A1
|
||||
|
||||
private typealias H1 = A1
|
||||
|
||||
public typealias I1 = A1 // points to public
|
||||
public typealias I2 = B1 // points to protected
|
||||
public typealias I3 = C1 // points to internal
|
||||
public typealias I4 = D1 // points to private
|
||||
Reference in New Issue
Block a user