[Minor] Re-format :kotlin-klib-commonizer and :kotlin-klib-commonizer-api

This commit is contained in:
sebastian.sellmair
2021-04-14 14:33:50 +02:00
committed by Space
parent f893709e5b
commit 05a6d89151
91 changed files with 1144 additions and 351 deletions
@@ -26,6 +26,7 @@ expect fun function7(): C
expect class Box<T>(value: T) {
val value: T
}
expect class Fox()
expect fun functionWithTypeParametersInReturnType1(): Array<Int>
@@ -46,6 +47,7 @@ expect class Outer<A>() {
class Nested<C>()
inner class Inner<D>()
}
inner class Inner<E>() {
inner class Inner<F>()
}
@@ -67,6 +67,7 @@ actual class Outer<A> actual constructor() {
actual class Nested<C> actual constructor()
actual inner class Inner<D> actual constructor()
}
actual inner class Inner<E> actual constructor() {
actual inner class Inner<F> actual constructor()
}
@@ -67,6 +67,7 @@ actual class Outer<A> actual constructor() {
actual class Nested<C> actual constructor()
actual inner class Inner<D> actual constructor()
}
actual inner class Inner<E> actual constructor() {
actual inner class Inner<F> actual constructor()
}
@@ -70,6 +70,7 @@ class Outer<A> {
class Nested<C>
inner class Inner<D>
}
inner class Inner<E> {
inner class Inner<F>
}
@@ -70,6 +70,7 @@ class Outer<A> {
class Nested<C>
inner class Inner<D>
}
inner class Inner<E> {
inner class Inner<F>
}
@@ -36,10 +36,16 @@ expect class W() {
}
}
expect class BB1() { companion object }
expect class BB1() {
companion object
}
expect class BB2()
expect class CC1() { companion object DD1 }
expect class CC1() {
companion object DD1
}
expect class CC2()
expect class CC3()
@@ -54,15 +60,16 @@ expect class FF1(property1: String) {
fun function1(): String
fun function2(): String
}
expect class FF2()
expect sealed class GG1
expect sealed class GG2 {
class HH1(): GG2
class HH1() : GG2
object HH2 : GG2
}
expect class HH5(): GG2
expect class HH5() : GG2
expect object HH6 : GG2
expect enum class II1
@@ -80,5 +87,10 @@ expect class KK1(property: String) : JJ {
expect class KK2(wrapped: JJ) : JJ
expect class LL1(value: String) { val value: String }
expect class LL2(value: String) { val value: String }
expect class LL1(value: String) {
val value: String
}
expect class LL2(value: String) {
val value: String
}
@@ -84,12 +84,25 @@ actual class W actual constructor() {
}
}
actual class BB1 actual constructor() { actual companion object }
actual class BB2 actual constructor() { companion object }
actual class BB1 actual constructor() {
actual 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 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)
@@ -102,16 +115,17 @@ actual external class FF1 actual constructor(actual val property1: 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 class HH1 actual constructor() : GG2()
actual object HH2 : GG2()
class HH3 : GG2()
}
actual class HH5 actual constructor(): GG2()
actual class HH5 actual constructor() : GG2()
actual object HH6 : GG2()
class HH7 : GG2()
@@ -124,7 +138,7 @@ actual interface JJ {
}
actual class KK1 actual constructor(actual override val property: String) : JJ {
actual override fun function() = property
actual override fun function() = property
}
actual class KK2 actual constructor(private val wrapped: JJ) : JJ by wrapped
@@ -84,12 +84,23 @@ actual class W actual constructor() {
}
}
actual class BB1 actual constructor() { actual companion object }
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 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)
@@ -102,16 +113,17 @@ actual class FF1 actual constructor(actual val property1: String) {
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 class HH1 actual constructor() : GG2()
actual object HH2 : GG2()
class HH4 : GG2()
}
actual class HH5 actual constructor(): GG2()
actual class HH5 actual constructor() : GG2()
actual object HH6 : GG2()
class HH8 : GG2()
@@ -126,7 +138,7 @@ actual interface JJ {
actual class KK1 actual constructor(actual override val property: String) : JJ {
val property2 = property
actual override fun function() = property
actual override fun function() = property
}
actual class KK2 actual constructor(wrapped: JJ) : JJ by wrapped
@@ -84,12 +84,25 @@ class W {
}
}
class BB1 { companion object }
class BB2 { companion object }
class BB1 {
companion object
}
class CC1 { companion object DD1 }
class CC2 { companion object DD2 }
class CC3 { companion object DD3 }
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)
@@ -102,6 +115,7 @@ external class FF1(val property1: String) {
fun function1() = property1
fun function2(): String
}
external class FF2()
sealed class GG1
@@ -84,12 +84,23 @@ class W {
}
}
class BB1 { companion object }
class BB1 {
companion object
}
class BB2
class CC1 { companion object DD1 }
class CC2 { companion object CompanionWithAnotherName }
class CC3 { companion object }
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)
@@ -102,6 +113,7 @@ class FF1(val property1: String) {
fun function1() = property1
fun function2() = function1()
}
external class FF2()
sealed class GG1
@@ -1,14 +1,26 @@
expect class A1(text: String) { constructor(number: Int) }
expect class A2(text: String) { constructor(number: Int) }
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 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 C1 internal constructor(text: String) {
internal constructor(number: Int)
}
expect class C2
expect class D1
@@ -1,17 +1,46 @@
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 A1 actual constructor(text: String) {
actual 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 A2 actual constructor(text: String) {
actual 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 A3(text: String) {
constructor(number: Int) : this(number.toString())
}
actual class D1 private constructor(text: String) { private 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)
@@ -1,17 +1,46 @@
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 A1 actual constructor(text: String) {
actual 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 A2 actual constructor(text: String) {
actual 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 A3 protected constructor(text: String) {
protected constructor(number: Int) : this(number.toString())
}
actual class D1 private constructor(text: String) { private 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)
@@ -1,17 +1,46 @@
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 A1(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 A2(text: String) {
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 A3(text: String) {
constructor(number: Int) : this(number.toString())
}
class D1 private constructor(text: String) { private 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)
@@ -1,17 +1,46 @@
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 A1(text: String) {
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 A2 constructor(text: String) {
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 A3 protected constructor(text: String) {
protected constructor(number: Int) : this(number.toString())
}
class D1 private constructor(text: String) { private 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)
@@ -1,3 +1,4 @@
typealias my_long_t = common.stuff.MyLong
typealias MyTypeAlias = common.stuff.Wrapper<my_long_t>
expect val property: MyTypeAlias
@@ -1,2 +1,3 @@
typealias my_linux_long_t = common.stuff.MyLong
actual val property: MyTypeAlias = TODO()
@@ -1,2 +1,3 @@
typealias my_macos_long_t = common.stuff.MyLong
actual val property: MyTypeAlias = TODO()
@@ -1,4 +1,5 @@
typealias my_long_t = my_linux_long_t
typealias my_linux_long_t = common.stuff.MyLong
typealias MyTypeAlias = common.stuff.Wrapper<my_long_t>
val property: MyTypeAlias = TODO()
@@ -1,4 +1,5 @@
typealias my_long_t = my_macos_long_t
typealias my_macos_long_t = common.stuff.MyLong
typealias MyTypeAlias = common.stuff.Wrapper<my_long_t>
val property: MyTypeAlias = TODO()
@@ -3,12 +3,12 @@ expect interface A1 {
fun function1(): Int
}
expect abstract class A2(): A1 {
expect abstract class A2() : A1 {
abstract val property2: Int
abstract fun function2(): Int
}
expect class A3 (): A2 {
expect class A3() : A2 {
override val property1: Int
override val property2: Int
val property3: Int
@@ -23,7 +23,7 @@ expect interface B1 {
fun function1(): Int
}
expect class B3(): B1 {
expect class B3() : B1 {
override val property1: Int
open val property2: Int
val property3: Int
@@ -38,7 +38,7 @@ expect interface C1 {
fun function1(): Int
}
expect class C3 (): C1 {
expect class C3() : C1 {
override val property1: Int
val property2: Int
val property3: Int
@@ -53,7 +53,7 @@ expect interface D2 {
fun function2(): Int
}
expect class D3(): D2 {
expect class D3() : D2 {
open val property1: Int
override val property2: Int
val property3: Int
@@ -3,12 +3,12 @@ actual interface A1 {
actual fun function1(): Int
}
actual abstract class A2 actual constructor(): A1 {
actual abstract class A2 actual constructor() : A1 {
actual abstract val property2: Int
actual abstract fun function2(): Int
}
actual class A3 actual constructor(): A2() {
actual class A3 actual constructor() : A2() {
actual override val property1 = 1
actual override val property2 = 1
actual val property3 = 1
@@ -28,7 +28,7 @@ interface B2 {
fun function2(): Int
}
actual class B3 actual constructor(): B1, B2 {
actual class B3 actual constructor() : B1, B2 {
actual override val property1 = 1
actual override val property2 = 1
actual val property3 = 1
@@ -48,7 +48,7 @@ interface C2 {
fun function2(): Int
}
actual class C3 actual constructor(): C1, C2 {
actual class C3 actual constructor() : C1, C2 {
actual override val property1 = 1
actual override val property2 = 1
actual val property3 = 1
@@ -68,7 +68,7 @@ actual interface D2 {
actual fun function2(): Int
}
actual class D3 actual constructor(): D1, D2 {
actual class D3 actual constructor() : D1, D2 {
actual override val property1 = 1
actual override val property2 = 1
actual val property3 = 1
@@ -3,12 +3,12 @@ actual interface A1 {
actual fun function1(): Int
}
actual abstract class A2 actual constructor(): A1 {
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 class A3 actual constructor() : A2(), A1 {
actual override val property1 = 1
actual override val property2 = 1
actual val property3 = 1
@@ -26,7 +26,7 @@ actual interface B1 {
fun function2(): Int
}
actual class B3 actual constructor(): B1 {
actual class B3 actual constructor() : B1 {
actual override val property1 = 1
actual override val property2 = 1
actual val property3 = 1
@@ -41,7 +41,7 @@ actual interface C1 {
actual fun function1(): Int
}
actual class C3 actual constructor(): C1 {
actual class C3 actual constructor() : C1 {
actual override val property1 = 1
actual val property2 = 1
actual val property3 = 1
@@ -61,7 +61,7 @@ actual interface D2 {
actual fun function2(): Int
}
actual class D3 actual constructor(): D1(), D2 {
actual class D3 actual constructor() : D1(), D2 {
actual override val property1 = 1
actual override val property2 = 1
actual val property3 = 1
@@ -32,10 +32,12 @@ typealias R = Function<C> // something complex
// Type aliases converted to expect classes:
typealias S = String
expect class T
// Nullability:
typealias U = A // same nullability of the RHS class
expect class V // different nullability of the RHS class
typealias W = A // same nullability of the RHS TA
typealias Y = V // TA at the RHS with the different nullability of own RHS
@@ -19,6 +19,7 @@ typealias X = U? // different nullability of the RHS TA
// Supertypes:
actual typealias FILE = _IO_FILE
final class _IO_FILE : kotlinx.cinterop.CStructVar {}
actual val uuid: uuid_t get() = TODO()
@@ -19,6 +19,7 @@ typealias X = U // different nullability of the RHS TA
// Supertypes:
actual typealias FILE = __sFILE
final class __sFILE : kotlinx.cinterop.CStructVar {}
actual val uuid: uuid_t get() = TODO()
@@ -4,7 +4,9 @@ package kotlinx.cinterop
// fake classes with the default constructor and no member scope
abstract class CStructVar
class CPointer<T>
@Suppress("FINAL_UPPER_BOUND") class UByteVarOf<T : UByte>
@Suppress("FINAL_UPPER_BOUND")
class UByteVarOf<T : UByte>
class UByte
// fake typealiases
@@ -50,6 +50,7 @@ typealias Y = V // TA at the RHS with the different nullability of own RHS
// Supertypes:
typealias FILE = _IO_FILE
final class _IO_FILE : kotlinx.cinterop.CStructVar {}
typealias uuid_t = __darwin_uuid_t
@@ -50,6 +50,7 @@ typealias Y = V // TA at the RHS with the different nullability of own RHS
// Supertypes:
typealias FILE = __sFILE
final class __sFILE : kotlinx.cinterop.CStructVar {}
typealias uuid_t = __darwin_uuid_t
@@ -12,6 +12,7 @@ expect class A2<T : Any?>() {
fun function(value: T): T
}
}
expect class B4<T : Any>() {
val property: T
fun function(value: T): T
@@ -26,6 +27,7 @@ expect class B4<T : Any>() {
fun function(value: T): T
}
}
expect class C5<T : CharSequence>() {
val property: T
fun function(value: T): T
@@ -40,6 +42,7 @@ expect class C5<T : CharSequence>() {
fun function(value: T): T
}
}
expect class D6<T : String>() {
val property: T
fun function(value: T): T
@@ -54,6 +57,7 @@ expect class D6<T : String>() {
fun function(value: T): T
}
}
expect class E7<String>() {
val property: String
fun function(value: String): String
@@ -68,6 +72,7 @@ expect class E7<String>() {
fun function(value: String): String
}
}
expect class F1<T>() {
val property: T
fun function(value: T): T
@@ -82,6 +87,7 @@ expect class F1<T>() {
fun function(value: T): T
}
}
expect class G1<T, R>() {
val property1: T
val property2: R
@@ -112,6 +118,7 @@ expect class H1<T>() {
val <T> T.independentExtensionProperty: T
fun <T> T.independentExtensionFunction(): T
}
expect class H2<T>() {
val dependentProperty: T
fun dependentFunction(value: T): T
@@ -128,10 +135,12 @@ expect class I<T : I<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
@@ -12,6 +12,7 @@ class A1<T> {
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
@@ -26,6 +27,7 @@ actual class A2<T> actual constructor() {
actual fun function(value: T): T = value
}
}
class A3<T> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -40,6 +42,7 @@ class A3<T> {
fun function(value: T): T = value
}
}
class A4<T> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -54,6 +57,7 @@ class A4<T> {
fun function(value: T): T = value
}
}
class A5<T> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -68,6 +72,7 @@ class A5<T> {
fun function(value: T): T = value
}
}
class A6<T> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -82,6 +87,7 @@ class A6<T> {
fun function(value: T): T = value
}
}
class A7<T> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -111,6 +117,7 @@ class B1<T : Any> {
fun function(value: T): T = value
}
}
class B2<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -125,6 +132,7 @@ class B2<T : Any> {
fun function(value: T): T = value
}
}
class B3<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -139,6 +147,7 @@ class B3<T : Any> {
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
@@ -153,6 +162,7 @@ actual class B4<T : Any> actual constructor() {
actual fun function(value: T): T = value
}
}
class B5<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -167,6 +177,7 @@ class B5<T : Any> {
fun function(value: T): T = value
}
}
class B6<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -181,6 +192,7 @@ class B6<T : Any> {
fun function(value: T): T = value
}
}
class B7<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -210,6 +222,7 @@ class C1<T : CharSequence> {
fun function(value: T): T = value
}
}
class C2<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -224,6 +237,7 @@ class C2<T : CharSequence> {
fun function(value: T): T = value
}
}
class C3<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -238,6 +252,7 @@ class C3<T : CharSequence> {
fun function(value: T): T = value
}
}
class C4<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -252,6 +267,7 @@ class C4<T : CharSequence> {
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
@@ -266,6 +282,7 @@ actual class C5<T : CharSequence> actual constructor() {
actual fun function(value: T): T = value
}
}
class C6<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -280,6 +297,7 @@ class C6<T : CharSequence> {
fun function(value: T): T = value
}
}
class C7<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -309,6 +327,7 @@ class D1<T : String> {
fun function(value: T): T = value
}
}
class D2<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -323,6 +342,7 @@ class D2<T : String> {
fun function(value: T): T = value
}
}
class D3<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -337,6 +357,7 @@ class D3<T : String> {
fun function(value: T): T = value
}
}
class D4<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -351,6 +372,7 @@ class D4<T : String> {
fun function(value: T): T = value
}
}
class D5<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -365,6 +387,7 @@ class D5<T : String> {
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
@@ -379,6 +402,7 @@ actual class D6<T : String> actual constructor() {
actual fun function(value: T): T = value
}
}
class D7<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -408,6 +432,7 @@ class E1<String> {
fun function(value: String): String = value
}
}
class E2<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -422,6 +447,7 @@ class E2<String> {
fun function(value: String): String = value
}
}
class E3<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -436,6 +462,7 @@ class E3<String> {
fun function(value: String): String = value
}
}
class E4<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -450,6 +477,7 @@ class E4<String> {
fun function(value: String): String = value
}
}
class E5<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -464,6 +492,7 @@ class E5<String> {
fun function(value: String): String = value
}
}
class E6<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -478,6 +507,7 @@ class E6<String> {
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
@@ -507,6 +537,7 @@ actual class F1<T> actual constructor() {
actual fun function(value: T): T = value
}
}
class F2<T> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -521,6 +552,7 @@ class F2<T> {
fun function(value: T): T = value
}
}
class F3<T> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -553,6 +585,7 @@ actual class G1<T, R> actual constructor() {
actual fun function(value: T): R = TODO()
}
}
class G2<T, R> {
val property1: T get() = TODO()
val property2: R get() = TODO()
@@ -570,6 +603,7 @@ class G2<T, R> {
fun function(value: T): R = TODO()
}
}
class G3<T, R> {
val property1: T get() = TODO()
val property2: R get() = TODO()
@@ -587,6 +621,7 @@ class G3<T, R> {
fun function(value: T): R = TODO()
}
}
class G4<T, R> {
val property1: T get() = TODO()
val property2: R get() = TODO()
@@ -617,6 +652,7 @@ actual class H1<T> actual constructor() {
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
@@ -638,10 +674,12 @@ actual class I<T : I<T>> actual constructor() {
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
@@ -12,6 +12,7 @@ class A1 {
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
@@ -26,6 +27,7 @@ actual class A2<T : Any?> actual constructor() {
actual fun function(value: T): T = value
}
}
class A3<R : Any?> {
val property: R get() = TODO()
fun function(value: R): R = value
@@ -40,6 +42,7 @@ class A3<R : Any?> {
fun function(value: R): R = value
}
}
class A4<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -54,6 +57,7 @@ class A4<T : Any> {
fun function(value: T): T = value
}
}
class A5<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -68,6 +72,7 @@ class A5<T : CharSequence> {
fun function(value: T): T = value
}
}
class A6<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -82,6 +87,7 @@ class A6<T : String> {
fun function(value: T): T = value
}
}
class A7<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -111,6 +117,7 @@ class B1 {
fun function(value: Any): Any = value
}
}
class B2<T : Any?> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -125,6 +132,7 @@ class B2<T : Any?> {
fun function(value: T): T = value
}
}
class B3<R : Any?> {
val property: R get() = TODO()
fun function(value: R): R = value
@@ -139,6 +147,7 @@ class B3<R : Any?> {
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
@@ -153,6 +162,7 @@ actual class B4<T : Any> actual constructor() {
actual fun function(value: T): T = value
}
}
class B5<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -167,6 +177,7 @@ class B5<T : CharSequence> {
fun function(value: T): T = value
}
}
class B6<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -181,6 +192,7 @@ class B6<T : String> {
fun function(value: T): T = value
}
}
class B7<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -210,11 +222,12 @@ class C1 {
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?>{
class Nested<T : Any?> {
val property: T get() = TODO()
fun function(value: T): T = value
}
@@ -224,6 +237,7 @@ class C2<T : Any?> {
fun function(value: T): T = value
}
}
class C3<R : Any?> {
val property: R get() = TODO()
fun function(value: R): R = value
@@ -238,6 +252,7 @@ class C3<R : Any?> {
fun function(value: R): R = value
}
}
class C4<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -252,6 +267,7 @@ class C4<T : Any> {
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
@@ -266,6 +282,7 @@ actual class C5<T : CharSequence> actual constructor() {
actual fun function(value: T): T = value
}
}
class C6<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -280,6 +297,7 @@ class C6<T : String> {
fun function(value: T): T = value
}
}
class C7<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -309,6 +327,7 @@ class D1 {
fun function(value: Any): Any = value
}
}
class D2<T : Any?> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -323,6 +342,7 @@ class D2<T : Any?> {
fun function(value: T): T = value
}
}
class D3<R : Any?> {
val property: R get() = TODO()
fun function(value: R): R = value
@@ -337,6 +357,7 @@ class D3<R : Any?> {
fun function(value: R): R = value
}
}
class D4<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -351,6 +372,7 @@ class D4<T : Any> {
fun function(value: T): T = value
}
}
class D5<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -365,6 +387,7 @@ class D5<T : CharSequence> {
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
@@ -379,6 +402,7 @@ actual class D6<T : String> actual constructor() {
actual fun function(value: T): T = value
}
}
class D7<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -408,6 +432,7 @@ class E1 {
fun function(value: Any): Any = value
}
}
class E2<T : Any?> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -422,6 +447,7 @@ class E2<T : Any?> {
fun function(value: T): T = value
}
}
class E3<R : Any?> {
val property: R get() = TODO()
fun function(value: R): R = value
@@ -436,6 +462,7 @@ class E3<R : Any?> {
fun function(value: R): R = value
}
}
class E4<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -450,6 +477,7 @@ class E4<T : Any> {
fun function(value: T): T = value
}
}
class E5<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -464,6 +492,7 @@ class E5<T : CharSequence> {
fun function(value: T): T = value
}
}
class E6<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -478,6 +507,7 @@ class E6<T : String> {
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
@@ -507,6 +537,7 @@ actual class F1<T> actual constructor() {
actual fun function(value: T): T = value
}
}
class F2<in T> {
val property: String get() = TODO()
fun function(value: T): Any = TODO()
@@ -521,6 +552,7 @@ class F2<in T> {
fun function(value: T): Any = TODO()
}
}
class F3<out T> {
val property: T get() = TODO()
fun function(value: Any): T = TODO()
@@ -553,6 +585,7 @@ actual class G1<T, R> actual constructor() {
actual fun function(value: T): R = TODO()
}
}
class G2<T> {
val property1: T get() = TODO()
val property2: T get() = TODO()
@@ -570,6 +603,7 @@ class G2<T> {
fun function(value: T): T = value
}
}
class G3<R> {
val property1: R get() = TODO()
val property2: R get() = TODO()
@@ -587,6 +621,7 @@ class G3<R> {
fun function(value: R): R = value
}
}
class G4<R, T> {
val property1: T get() = TODO()
val property2: R get() = TODO()
@@ -617,6 +652,7 @@ actual class H1<T> actual constructor() {
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
@@ -638,10 +674,12 @@ actual class I<T : I<T>> actual constructor() {
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
@@ -12,6 +12,7 @@ class A1<T> {
fun function(value: T): T = value
}
}
class A2<T> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -26,6 +27,7 @@ class A2<T> {
fun function(value: T): T = value
}
}
class A3<T> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -40,6 +42,7 @@ class A3<T> {
fun function(value: T): T = value
}
}
class A4<T> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -54,6 +57,7 @@ class A4<T> {
fun function(value: T): T = value
}
}
class A5<T> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -68,6 +72,7 @@ class A5<T> {
fun function(value: T): T = value
}
}
class A6<T> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -82,6 +87,7 @@ class A6<T> {
fun function(value: T): T = value
}
}
class A7<T> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -111,6 +117,7 @@ class B1<T : Any> {
fun function(value: T): T = value
}
}
class B2<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -125,6 +132,7 @@ class B2<T : Any> {
fun function(value: T): T = value
}
}
class B3<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -139,6 +147,7 @@ class B3<T : Any> {
fun function(value: T): T = value
}
}
class B4<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -153,6 +162,7 @@ class B4<T : Any> {
fun function(value: T): T = value
}
}
class B5<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -167,6 +177,7 @@ class B5<T : Any> {
fun function(value: T): T = value
}
}
class B6<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -181,6 +192,7 @@ class B6<T : Any> {
fun function(value: T): T = value
}
}
class B7<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -210,6 +222,7 @@ class C1<T : CharSequence> {
fun function(value: T): T = value
}
}
class C2<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -224,6 +237,7 @@ class C2<T : CharSequence> {
fun function(value: T): T = value
}
}
class C3<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -238,6 +252,7 @@ class C3<T : CharSequence> {
fun function(value: T): T = value
}
}
class C4<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -252,6 +267,7 @@ class C4<T : CharSequence> {
fun function(value: T): T = value
}
}
class C5<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -266,6 +282,7 @@ class C5<T : CharSequence> {
fun function(value: T): T = value
}
}
class C6<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -280,6 +297,7 @@ class C6<T : CharSequence> {
fun function(value: T): T = value
}
}
class C7<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -309,6 +327,7 @@ class D1<T : String> {
fun function(value: T): T = value
}
}
class D2<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -323,6 +342,7 @@ class D2<T : String> {
fun function(value: T): T = value
}
}
class D3<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -337,6 +357,7 @@ class D3<T : String> {
fun function(value: T): T = value
}
}
class D4<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -351,6 +372,7 @@ class D4<T : String> {
fun function(value: T): T = value
}
}
class D5<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -365,6 +387,7 @@ class D5<T : String> {
fun function(value: T): T = value
}
}
class D6<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -379,6 +402,7 @@ class D6<T : String> {
fun function(value: T): T = value
}
}
class D7<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -408,6 +432,7 @@ class E1<String> {
fun function(value: String): String = value
}
}
class E2<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -422,6 +447,7 @@ class E2<String> {
fun function(value: String): String = value
}
}
class E3<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -436,6 +462,7 @@ class E3<String> {
fun function(value: String): String = value
}
}
class E4<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -450,6 +477,7 @@ class E4<String> {
fun function(value: String): String = value
}
}
class E5<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -464,6 +492,7 @@ class E5<String> {
fun function(value: String): String = value
}
}
class E6<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -478,6 +507,7 @@ class E6<String> {
fun function(value: String): String = value
}
}
class E7<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -507,6 +537,7 @@ class F1<T> {
fun function(value: T): T = value
}
}
class F2<T> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -521,6 +552,7 @@ class F2<T> {
fun function(value: T): T = value
}
}
class F3<T> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -553,6 +585,7 @@ class G1<T, R> {
fun function(value: T): R = TODO()
}
}
class G2<T, R> {
val property1: T get() = TODO()
val property2: R get() = TODO()
@@ -570,6 +603,7 @@ class G2<T, R> {
fun function(value: T): R = TODO()
}
}
class G3<T, R> {
val property1: T get() = TODO()
val property2: R get() = TODO()
@@ -587,6 +621,7 @@ class G3<T, R> {
fun function(value: T): R = TODO()
}
}
class G4<T, R> {
val property1: T get() = TODO()
val property2: R get() = TODO()
@@ -617,6 +652,7 @@ class H1<T> {
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
@@ -638,10 +674,12 @@ class I<T : I<T>> {
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
@@ -12,6 +12,7 @@ class A1 {
fun function(value: Any): Any = value
}
}
class A2<T : Any?> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -26,6 +27,7 @@ class A2<T : Any?> {
fun function(value: T): T = value
}
}
class A3<R : Any?> {
val property: R get() = TODO()
fun function(value: R): R = value
@@ -40,6 +42,7 @@ class A3<R : Any?> {
fun function(value: R): R = value
}
}
class A4<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -54,6 +57,7 @@ class A4<T : Any> {
fun function(value: T): T = value
}
}
class A5<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -68,6 +72,7 @@ class A5<T : CharSequence> {
fun function(value: T): T = value
}
}
class A6<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -82,6 +87,7 @@ class A6<T : String> {
fun function(value: T): T = value
}
}
class A7<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -111,6 +117,7 @@ class B1 {
fun function(value: Any): Any = value
}
}
class B2<T : Any?> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -125,6 +132,7 @@ class B2<T : Any?> {
fun function(value: T): T = value
}
}
class B3<R : Any?> {
val property: R get() = TODO()
fun function(value: R): R = value
@@ -139,6 +147,7 @@ class B3<R : Any?> {
fun function(value: R): R = value
}
}
class B4<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -153,6 +162,7 @@ class B4<T : Any> {
fun function(value: T): T = value
}
}
class B5<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -167,6 +177,7 @@ class B5<T : CharSequence> {
fun function(value: T): T = value
}
}
class B6<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -181,6 +192,7 @@ class B6<T : String> {
fun function(value: T): T = value
}
}
class B7<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -210,11 +222,12 @@ class C1 {
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?>{
class Nested<T : Any?> {
val property: T get() = TODO()
fun function(value: T): T = value
}
@@ -224,6 +237,7 @@ class C2<T : Any?> {
fun function(value: T): T = value
}
}
class C3<R : Any?> {
val property: R get() = TODO()
fun function(value: R): R = value
@@ -238,6 +252,7 @@ class C3<R : Any?> {
fun function(value: R): R = value
}
}
class C4<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -252,6 +267,7 @@ class C4<T : Any> {
fun function(value: T): T = value
}
}
class C5<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -266,6 +282,7 @@ class C5<T : CharSequence> {
fun function(value: T): T = value
}
}
class C6<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -280,6 +297,7 @@ class C6<T : String> {
fun function(value: T): T = value
}
}
class C7<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -309,6 +327,7 @@ class D1 {
fun function(value: Any): Any = value
}
}
class D2<T : Any?> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -323,6 +342,7 @@ class D2<T : Any?> {
fun function(value: T): T = value
}
}
class D3<R : Any?> {
val property: R get() = TODO()
fun function(value: R): R = value
@@ -337,6 +357,7 @@ class D3<R : Any?> {
fun function(value: R): R = value
}
}
class D4<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -351,6 +372,7 @@ class D4<T : Any> {
fun function(value: T): T = value
}
}
class D5<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -365,6 +387,7 @@ class D5<T : CharSequence> {
fun function(value: T): T = value
}
}
class D6<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -379,6 +402,7 @@ class D6<T : String> {
fun function(value: T): T = value
}
}
class D7<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -408,6 +432,7 @@ class E1 {
fun function(value: Any): Any = value
}
}
class E2<T : Any?> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -422,6 +447,7 @@ class E2<T : Any?> {
fun function(value: T): T = value
}
}
class E3<R : Any?> {
val property: R get() = TODO()
fun function(value: R): R = value
@@ -436,6 +462,7 @@ class E3<R : Any?> {
fun function(value: R): R = value
}
}
class E4<T : Any> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -450,6 +477,7 @@ class E4<T : Any> {
fun function(value: T): T = value
}
}
class E5<T : CharSequence> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -464,6 +492,7 @@ class E5<T : CharSequence> {
fun function(value: T): T = value
}
}
class E6<T : String> {
val property: T get() = TODO()
fun function(value: T): T = value
@@ -478,6 +507,7 @@ class E6<T : String> {
fun function(value: T): T = value
}
}
class E7<String> {
val property: String get() = TODO()
fun function(value: String): String = value
@@ -507,6 +537,7 @@ class F1<T> {
fun function(value: T): T = value
}
}
class F2<in T> {
val property: String get() = TODO()
fun function(value: T): Any = TODO()
@@ -521,6 +552,7 @@ class F2<in T> {
fun function(value: T): Any = TODO()
}
}
class F3<out T> {
val property: T get() = TODO()
fun function(value: Any): T = TODO()
@@ -553,6 +585,7 @@ class G1<T, R> {
fun function(value: T): R = TODO()
}
}
class G2<T> {
val property1: T get() = TODO()
val property2: T get() = TODO()
@@ -570,6 +603,7 @@ class G2<T> {
fun function(value: T): T = value
}
}
class G3<R> {
val property1: R get() = TODO()
val property2: R get() = TODO()
@@ -587,6 +621,7 @@ class G3<R> {
fun function(value: R): R = value
}
}
class G4<R, T> {
val property1: T get() = TODO()
val property2: R get() = TODO()
@@ -617,6 +652,7 @@ class H1<T> {
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
@@ -638,10 +674,12 @@ class I<T : I<T>> {
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
@@ -5,13 +5,16 @@ internal expect class C1()
public typealias E1 = A1
protected typealias E2 = A1
internal typealias E3 = A1
public expect class E4
protected typealias F1 = A1
public expect class F2
public expect class F3
internal typealias G1 = A1
public expect class G2
public expect class H1
@@ -4,42 +4,63 @@ expect class Holder() {
@Deprecated("See concrete deprecation messages in actual declarations")
expect fun deprecatedFunctionWithCustomizedAnnotation1()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation2()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation3()
@Deprecated("This function is deprecated", level = DeprecationLevel.ERROR)
expect fun deprecatedFunctionWithCustomizedAnnotation4()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation5()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation6()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation7()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation8()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation9()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation10()
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
expect fun deprecatedFunctionWithCustomizedAnnotation11()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation12()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation13()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation14()
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
expect fun deprecatedFunctionWithCustomizedAnnotation15()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation16()
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation17() {}
fun deprecatedFunctionWithCustomizedAnnotation17() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation18() {}
fun deprecatedFunctionWithCustomizedAnnotation18() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation19() {}
fun deprecatedFunctionWithCustomizedAnnotation19() {
}
expect fun nonDeprecatedFunction1()
}
@@ -1,47 +1,87 @@
actual class Holder actual constructor() {
@Deprecated("This function is deprecated")
actual fun deprecatedFunction1() {}
@Deprecated("This function is deprecated")
fun deprecatedFunction2() {}
actual fun deprecatedFunction1() {
}
@Deprecated("This function is deprecated")
actual fun deprecatedFunctionWithCustomizedAnnotation1() {}
fun deprecatedFunction2() {
}
@Deprecated("This function is deprecated")
actual fun deprecatedFunctionWithCustomizedAnnotation2() {}
actual fun deprecatedFunctionWithCustomizedAnnotation1() {
}
@Deprecated("This function is deprecated")
actual fun deprecatedFunctionWithCustomizedAnnotation2() {
}
@Deprecated("This function is deprecated", level = DeprecationLevel.WARNING)
actual fun deprecatedFunctionWithCustomizedAnnotation3() {}
actual fun deprecatedFunctionWithCustomizedAnnotation3() {
}
@Deprecated("This function is deprecated")
actual fun deprecatedFunctionWithCustomizedAnnotation4() {}
actual fun deprecatedFunctionWithCustomizedAnnotation4() {
}
@Deprecated("This function is deprecated")
actual fun deprecatedFunctionWithCustomizedAnnotation5() {}
actual fun deprecatedFunctionWithCustomizedAnnotation5() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
actual fun deprecatedFunctionWithCustomizedAnnotation6() {}
actual fun deprecatedFunctionWithCustomizedAnnotation6() {
}
@Deprecated("This function is deprecated")
actual fun deprecatedFunctionWithCustomizedAnnotation7() {}
actual fun deprecatedFunctionWithCustomizedAnnotation7() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
actual fun deprecatedFunctionWithCustomizedAnnotation8() {}
actual fun deprecatedFunctionWithCustomizedAnnotation8() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = emptyArray()))
actual fun deprecatedFunctionWithCustomizedAnnotation9() {}
actual fun deprecatedFunctionWithCustomizedAnnotation9() {
}
@Deprecated("This function is deprecated")
actual fun deprecatedFunctionWithCustomizedAnnotation10() {}
actual fun deprecatedFunctionWithCustomizedAnnotation10() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
actual fun deprecatedFunctionWithCustomizedAnnotation11() {}
actual fun deprecatedFunctionWithCustomizedAnnotation11() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("bar()"))
actual fun deprecatedFunctionWithCustomizedAnnotation12() {}
actual fun deprecatedFunctionWithCustomizedAnnotation12() {
}
@Deprecated("This function is deprecated")
actual fun deprecatedFunctionWithCustomizedAnnotation13() {}
actual fun deprecatedFunctionWithCustomizedAnnotation13() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
actual fun deprecatedFunctionWithCustomizedAnnotation14() {}
actual fun deprecatedFunctionWithCustomizedAnnotation14() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation15() {}
actual fun deprecatedFunctionWithCustomizedAnnotation15() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.bar")))
actual fun deprecatedFunctionWithCustomizedAnnotation16() {}
actual fun deprecatedFunctionWithCustomizedAnnotation16() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation17() {}
actual fun deprecatedFunctionWithCustomizedAnnotation17() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.bar")))
actual fun deprecatedFunctionWithCustomizedAnnotation18() {}
actual fun deprecatedFunctionWithCustomizedAnnotation18() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("bar()", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation19() {}
actual fun deprecatedFunctionWithCustomizedAnnotation19() {
}
actual fun nonDeprecatedFunction1() {}
fun nonDeprecatedFunction2() {}
@@ -1,47 +1,87 @@
actual class Holder actual constructor() {
@Deprecated("This function is deprecated")
actual fun deprecatedFunction1() {}
actual fun deprecatedFunction1() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunction3() {}
fun deprecatedFunction3() {
}
@Deprecated("This function is deprecated as well")
actual fun deprecatedFunctionWithCustomizedAnnotation1() {}
actual fun deprecatedFunctionWithCustomizedAnnotation1() {
}
@Deprecated("This function is deprecated", level = DeprecationLevel.WARNING)
actual fun deprecatedFunctionWithCustomizedAnnotation2() {}
actual fun deprecatedFunctionWithCustomizedAnnotation2() {
}
@Deprecated("This function is deprecated", level = DeprecationLevel.WARNING)
actual fun deprecatedFunctionWithCustomizedAnnotation3() {}
actual fun deprecatedFunctionWithCustomizedAnnotation3() {
}
@Deprecated("This function is deprecated", level = DeprecationLevel.ERROR)
actual fun deprecatedFunctionWithCustomizedAnnotation4() {}
actual fun deprecatedFunctionWithCustomizedAnnotation4() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
actual fun deprecatedFunctionWithCustomizedAnnotation5() {}
actual fun deprecatedFunctionWithCustomizedAnnotation5() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
actual fun deprecatedFunctionWithCustomizedAnnotation6() {}
actual fun deprecatedFunctionWithCustomizedAnnotation6() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = emptyArray()))
actual fun deprecatedFunctionWithCustomizedAnnotation7() {}
actual fun deprecatedFunctionWithCustomizedAnnotation7() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = emptyArray()))
actual fun deprecatedFunctionWithCustomizedAnnotation8() {}
actual fun deprecatedFunctionWithCustomizedAnnotation8() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = emptyArray()))
actual fun deprecatedFunctionWithCustomizedAnnotation9() {}
actual fun deprecatedFunctionWithCustomizedAnnotation9() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
actual fun deprecatedFunctionWithCustomizedAnnotation10() {}
actual fun deprecatedFunctionWithCustomizedAnnotation10() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
actual fun deprecatedFunctionWithCustomizedAnnotation11() {}
actual fun deprecatedFunctionWithCustomizedAnnotation11() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
actual fun deprecatedFunctionWithCustomizedAnnotation12() {}
actual fun deprecatedFunctionWithCustomizedAnnotation12() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation13() {}
actual fun deprecatedFunctionWithCustomizedAnnotation13() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation14() {}
actual fun deprecatedFunctionWithCustomizedAnnotation14() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation15() {}
actual fun deprecatedFunctionWithCustomizedAnnotation15() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation16() {}
actual fun deprecatedFunctionWithCustomizedAnnotation16() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation17() {}
actual fun deprecatedFunctionWithCustomizedAnnotation17() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation18() {}
actual fun deprecatedFunctionWithCustomizedAnnotation18() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation19() {}
actual fun deprecatedFunctionWithCustomizedAnnotation19() {
}
actual fun nonDeprecatedFunction1() {}
fun nonDeprecatedFunction3() {}
@@ -1,52 +1,95 @@
@Deprecated("This function is deprecated")
fun deprecatedFunction1() {}
fun deprecatedFunction1() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunction2() {}
fun deprecatedFunction2() {
}
class Holder {
@Deprecated("This function is deprecated")
fun deprecatedFunction1() {}
@Deprecated("This function is deprecated")
fun deprecatedFunction2() {}
fun deprecatedFunction1() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation1() {}
fun deprecatedFunction2() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation2() {}
fun deprecatedFunctionWithCustomizedAnnotation1() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation2() {
}
@Deprecated("This function is deprecated", level = DeprecationLevel.WARNING)
fun deprecatedFunctionWithCustomizedAnnotation3() {}
fun deprecatedFunctionWithCustomizedAnnotation3() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation4() {}
fun deprecatedFunctionWithCustomizedAnnotation4() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation5() {}
fun deprecatedFunctionWithCustomizedAnnotation5() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
fun deprecatedFunctionWithCustomizedAnnotation6() {}
fun deprecatedFunctionWithCustomizedAnnotation6() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation7() {}
fun deprecatedFunctionWithCustomizedAnnotation7() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
fun deprecatedFunctionWithCustomizedAnnotation8() {}
fun deprecatedFunctionWithCustomizedAnnotation8() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = emptyArray()))
fun deprecatedFunctionWithCustomizedAnnotation9() {}
fun deprecatedFunctionWithCustomizedAnnotation9() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation10() {}
fun deprecatedFunctionWithCustomizedAnnotation10() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
fun deprecatedFunctionWithCustomizedAnnotation11() {}
fun deprecatedFunctionWithCustomizedAnnotation11() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("bar()"))
fun deprecatedFunctionWithCustomizedAnnotation12() {}
fun deprecatedFunctionWithCustomizedAnnotation12() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation13() {}
fun deprecatedFunctionWithCustomizedAnnotation13() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
fun deprecatedFunctionWithCustomizedAnnotation14() {}
fun deprecatedFunctionWithCustomizedAnnotation14() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation15() {}
fun deprecatedFunctionWithCustomizedAnnotation15() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.bar")))
fun deprecatedFunctionWithCustomizedAnnotation16() {}
fun deprecatedFunctionWithCustomizedAnnotation16() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation17() {}
fun deprecatedFunctionWithCustomizedAnnotation17() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.bar")))
fun deprecatedFunctionWithCustomizedAnnotation18() {}
fun deprecatedFunctionWithCustomizedAnnotation18() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("bar()", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation19() {}
fun deprecatedFunctionWithCustomizedAnnotation19() {
}
fun nonDeprecatedFunction1() {}
fun nonDeprecatedFunction2() {}
@@ -1,52 +1,95 @@
@Deprecated("This function is deprecated")
fun deprecatedFunction1() {}
fun deprecatedFunction1() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunction3() {}
fun deprecatedFunction3() {
}
class Holder {
@Deprecated("This function is deprecated")
fun deprecatedFunction1() {}
fun deprecatedFunction1() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunction3() {}
fun deprecatedFunction3() {
}
@Deprecated("This function is deprecated as well")
fun deprecatedFunctionWithCustomizedAnnotation1() {}
fun deprecatedFunctionWithCustomizedAnnotation1() {
}
@Deprecated("This function is deprecated", level = DeprecationLevel.WARNING)
fun deprecatedFunctionWithCustomizedAnnotation2() {}
fun deprecatedFunctionWithCustomizedAnnotation2() {
}
@Deprecated("This function is deprecated", level = DeprecationLevel.WARNING)
fun deprecatedFunctionWithCustomizedAnnotation3() {}
fun deprecatedFunctionWithCustomizedAnnotation3() {
}
@Deprecated("This function is deprecated", level = DeprecationLevel.ERROR)
fun deprecatedFunctionWithCustomizedAnnotation4() {}
fun deprecatedFunctionWithCustomizedAnnotation4() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
fun deprecatedFunctionWithCustomizedAnnotation5() {}
fun deprecatedFunctionWithCustomizedAnnotation5() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
fun deprecatedFunctionWithCustomizedAnnotation6() {}
fun deprecatedFunctionWithCustomizedAnnotation6() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = emptyArray()))
fun deprecatedFunctionWithCustomizedAnnotation7() {}
fun deprecatedFunctionWithCustomizedAnnotation7() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = emptyArray()))
fun deprecatedFunctionWithCustomizedAnnotation8() {}
fun deprecatedFunctionWithCustomizedAnnotation8() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = emptyArray()))
fun deprecatedFunctionWithCustomizedAnnotation9() {}
fun deprecatedFunctionWithCustomizedAnnotation9() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
fun deprecatedFunctionWithCustomizedAnnotation10() {}
fun deprecatedFunctionWithCustomizedAnnotation10() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
fun deprecatedFunctionWithCustomizedAnnotation11() {}
fun deprecatedFunctionWithCustomizedAnnotation11() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
fun deprecatedFunctionWithCustomizedAnnotation12() {}
fun deprecatedFunctionWithCustomizedAnnotation12() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation13() {}
fun deprecatedFunctionWithCustomizedAnnotation13() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation14() {}
fun deprecatedFunctionWithCustomizedAnnotation14() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation15() {}
fun deprecatedFunctionWithCustomizedAnnotation15() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation16() {}
fun deprecatedFunctionWithCustomizedAnnotation16() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation17() {}
fun deprecatedFunctionWithCustomizedAnnotation17() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation18() {}
fun deprecatedFunctionWithCustomizedAnnotation18() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation19() {}
fun deprecatedFunctionWithCustomizedAnnotation19() {
}
fun nonDeprecatedFunction1() {}
fun nonDeprecatedFunction3() {}
@@ -1,3 +1,3 @@
actual class Foo actual constructor()
actual fun bar(x: TypeAlias?) { }
actual fun bar(x: TypeAlias?) {}
@@ -1,3 +1,3 @@
actual class Foo actual constructor()
actual fun bar(x: TypeAlias?) { }
actual fun bar(x: TypeAlias?) {}
@@ -2,4 +2,4 @@ class Foo
typealias TypeAlias = Foo
fun bar(x: TypeAlias?) { }
fun bar(x: TypeAlias?) {}
@@ -2,4 +2,4 @@ class Foo
typealias TypeAlias = Foo
fun bar(x: TypeAlias?) { }
fun bar(x: TypeAlias?) {}
@@ -8,54 +8,73 @@ expect fun functionMismatchedParameterNames1(arg0: Int)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames2(arg0: Int, arg1: String)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames3(arg0: Int, arg1: String)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames4(arg0: Int, arg1: String)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames5(arg0: Int, arg1: String, arg2: List<Double>)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames6(arg0: Int, arg1: String, arg2: List<Double>)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames7(arg0: Int, arg1: String, arg2: List<Double>)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames8(arg0: Int, arg1: String, arg2: List<Double>)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames9(arg0: Int, arg1: String, arg2: List<Double>)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames10(arg0: Int, arg1: String, arg2: List<Double>)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames11(arg0: Int, arg1: String, arg2: List<Double>)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames12(vararg variadicArguments: Int)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames13(arg0: Int, vararg variadicArguments: Int)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames14(arg0: Int, vararg variadicArguments: Int)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames15(arg0: Int, vararg variadicArguments: Int)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames16(i: Int)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames17(i: Int, s: String)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames18(i: Int, s: String, l: List<Double>)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames19(vararg v: Int)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames20(i: Int, vararg v: Int)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames21(i: Int)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames22(i: Int, s: String)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames23(i: Int, s: String, l: List<Double>)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames24(vararg v: Int)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames25(i: Int, vararg v: Int)
@@ -72,15 +91,19 @@ expect fun functionMismatchedParameterNames37(arg0: Int, arg1: String)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames38(i: Int, s: String)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames39(i: Int, s: String)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames40(i: Int, s: String)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames41(arg0: Int, arg1: String)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames42(arg0: Int, arg1: String)
// hasStableParameterNames=false
expect fun functionMismatchedParameterNames43(arg0: Int, arg1: String)
@@ -8,32 +8,43 @@ actual fun functionMismatchedParameterNames1(arg0: Int) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames2(arg0: Int, arg1: String) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames3(arg0: Int, arg1: String) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames4(arg0: Int, arg1: String) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames5(arg0: Int, arg1: String, arg2: List<Double>) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames6(arg0: Int, arg1: String, arg2: List<Double>) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames7(arg0: Int, arg1: String, arg2: List<Double>) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames8(arg0: Int, arg1: String, arg2: List<Double>) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames9(arg0: Int, arg1: String, arg2: List<Double>) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames10(arg0: Int, arg1: String, arg2: List<Double>) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames11(arg0: Int, arg1: String, arg2: List<Double>) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames12(vararg variadicArguments: Int) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames13(arg0: Int, vararg variadicArguments: Int) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames14(arg0: Int, vararg variadicArguments: Int) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames15(arg0: Int, vararg variadicArguments: Int) {}
@@ -45,12 +56,16 @@ actual fun functionMismatchedParameterNames20(i: Int, vararg v: Int) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames21(i: Int) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames22(i: Int, s: String) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames23(i: Int, s: String, l: List<Double>) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames24(vararg v: Int) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames25(i: Int, vararg v: Int) {}
@@ -61,41 +76,64 @@ actual fun functionMismatchedParameterNames29(vararg variadicArguments: Int) {}
actual fun functionMismatchedParameterNames30(arg0: Int, vararg variadicArguments: Int) {}
actual fun functionMismatchedParameterNames31(i: Int, s: String) {}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames32(i: Int, s: String) {}
fun functionMismatchedParameterNames32(i: Int, s: String) {
}
fun functionMismatchedParameterNames33(i: Int, s: String) {}
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames34(i: Int, s: String) {}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames35(i: Int, s: String) {}
actual fun functionMismatchedParameterNames34(i: Int, s: String) {
}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames36(arg0: Int, arg1: String) {}
fun functionMismatchedParameterNames35(i: Int, s: String) {
}
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames37(arg0: Int, arg1: String) {}
fun functionMismatchedParameterNames36(arg0: Int, arg1: String) {
}
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames37(arg0: Int, arg1: String) {
}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames38(i: Int, s: String) {}
actual fun functionMismatchedParameterNames38(i: Int, s: String) {
}
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames39(i: Int, s: String) {}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames40(i: Int, s: String) {}
actual fun functionMismatchedParameterNames39(i: Int, s: String) {
}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames41(arg0: Int, arg1: String) {}
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames42(arg0: Int, arg1: String) {}
actual fun functionMismatchedParameterNames40(i: Int, s: String) {
}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames43(arg0: Int, arg1: String) {}
actual fun functionMismatchedParameterNames41(arg0: Int, arg1: String) {
}
@kotlinx.cinterop.ObjCMethod
actual fun overloadedFunctionByParameterNames(i: Int, s: String) {}
actual fun functionMismatchedParameterNames42(arg0: Int, arg1: String) {
}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
actual fun overloadedFunctionByParameterNames(xi: Int, xs: String) {}
actual fun functionMismatchedParameterNames43(arg0: Int, arg1: String) {
}
@kotlinx.cinterop.ObjCMethod
actual fun overloadedFunctionByParameterNames(i: Int, s: String) {
}
@kotlinx.cinterop.ObjCMethod
actual fun overloadedFunctionByParameterNames(xi: Int, xs: String) {
}
fun functionMismatchedParameterCount1(i: Int, s: String) {}
fun functionMismatchedParameterCount2(i: Int, s: String, l: List<Double>) {}
@@ -8,43 +8,58 @@ actual fun functionMismatchedParameterNames1(arg0: Int) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames2(arg0: Int, arg1: String) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames3(arg0: Int, arg1: String) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames4(arg0: Int, arg1: String) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames5(arg0: Int, arg1: String, arg2: List<Double>) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames6(arg0: Int, arg1: String, arg2: List<Double>) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames7(arg0: Int, arg1: String, arg2: List<Double>) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames8(arg0: Int, arg1: String, arg2: List<Double>) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames9(arg0: Int, arg1: String, arg2: List<Double>) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames10(arg0: Int, arg1: String, arg2: List<Double>) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames11(arg0: Int, arg1: String, arg2: List<Double>) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames12(vararg variadicArguments: Int) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames13(arg0: Int, vararg variadicArguments: Int) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames14(arg0: Int, vararg variadicArguments: Int) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames15(arg0: Int, vararg variadicArguments: Int) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames16(i: Int) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames17(i: Int, s: String) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames18(i: Int, s: String, l: List<Double>) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames19(vararg v: Int) {}
// hasStableParameterNames=false
actual fun functionMismatchedParameterNames20(i: Int, vararg v: Int) {}
@@ -62,40 +77,62 @@ actual fun functionMismatchedParameterNames30(arg0: Int, vararg variadicArgument
actual fun functionMismatchedParameterNames31(i: Int, s: String) {}
fun functionMismatchedParameterNames32(i: Int, s: String) {}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames33(i: Int, s: String) {}
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames34(i: Int, s: String) {}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames35(arg0: Int, arg1: String) {}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames36(i: Int, s: String) {}
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames37(arg0: Int, arg1: String) {}
fun functionMismatchedParameterNames33(i: Int, s: String) {
}
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames38(i: Int, s: String) {}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames39(i: Int, s: String) {}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames40(i: Int, s: String) {}
actual fun functionMismatchedParameterNames34(i: Int, s: String) {
}
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames41(arg0: Int, arg1: String) {}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames42(arg0: Int, arg1: String) {}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames43(arg0: Int, arg1: String) {}
fun functionMismatchedParameterNames35(arg0: Int, arg1: String) {
}
@kotlinx.cinterop.ObjCMethod
actual fun overloadedFunctionByParameterNames(i: Int, s: String) {}
fun functionMismatchedParameterNames36(i: Int, s: String) {
}
@kotlinx.cinterop.ObjCMethod
actual fun overloadedFunctionByParameterNames(xi: Int, xs: String) {}
actual fun functionMismatchedParameterNames37(arg0: Int, arg1: String) {
}
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames38(i: Int, s: String) {
}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames39(i: Int, s: String) {
}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames40(i: Int, s: String) {
}
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames41(arg0: Int, arg1: String) {
}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames42(arg0: Int, arg1: String) {
}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
actual fun functionMismatchedParameterNames43(arg0: Int, arg1: String) {
}
@kotlinx.cinterop.ObjCMethod
actual fun overloadedFunctionByParameterNames(i: Int, s: String) {
}
@kotlinx.cinterop.ObjCMethod
actual fun overloadedFunctionByParameterNames(xi: Int, xs: String) {
}
fun functionMismatchedParameterCount1(i: Int, s: String, l: List<Double>) {}
fun functionMismatchedParameterCount2(i: Int, s: String) {}
@@ -41,41 +41,64 @@ fun functionMismatchedParameterNames29(vararg variadicArguments: Int) {}
fun functionMismatchedParameterNames30(arg0: Int, vararg variadicArguments: Int) {}
fun functionMismatchedParameterNames31(i: Int, s: String) {}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames32(i: Int, s: String) {}
fun functionMismatchedParameterNames32(i: Int, s: String) {
}
fun functionMismatchedParameterNames33(i: Int, s: String) {}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames34(i: Int, s: String) {}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames35(i: Int, s: String) {}
fun functionMismatchedParameterNames34(i: Int, s: String) {
}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames36(arg0: Int, arg1: String) {}
fun functionMismatchedParameterNames35(i: Int, s: String) {
}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames37(arg0: Int, arg1: String) {}
fun functionMismatchedParameterNames36(arg0: Int, arg1: String) {
}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames37(arg0: Int, arg1: String) {
}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames38(i: Int, s: String) {}
fun functionMismatchedParameterNames38(i: Int, s: String) {
}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames39(i: Int, s: String) {}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames40(i: Int, s: String) {}
fun functionMismatchedParameterNames39(i: Int, s: String) {
}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames41(arg0: Int, arg1: String) {}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames42(arg0: Int, arg1: String) {}
fun functionMismatchedParameterNames40(i: Int, s: String) {
}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames43(arg0: Int, arg1: String) {}
fun functionMismatchedParameterNames41(arg0: Int, arg1: String) {
}
@kotlinx.cinterop.ObjCMethod
fun overloadedFunctionByParameterNames(i: Int, s: String) {}
fun functionMismatchedParameterNames42(arg0: Int, arg1: String) {
}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
fun overloadedFunctionByParameterNames(xi: Int, xs: String) {}
fun functionMismatchedParameterNames43(arg0: Int, arg1: String) {
}
@kotlinx.cinterop.ObjCMethod
fun overloadedFunctionByParameterNames(i: Int, s: String) {
}
@kotlinx.cinterop.ObjCMethod
fun overloadedFunctionByParameterNames(xi: Int, xs: String) {
}
fun functionMismatchedParameterCount1(i: Int, s: String) {}
fun functionMismatchedParameterCount2(i: Int, s: String, l: List<Double>) {}
@@ -42,40 +42,62 @@ fun functionMismatchedParameterNames30(arg0: Int, vararg variadicArguments: Int)
fun functionMismatchedParameterNames31(i: Int, s: String) {}
fun functionMismatchedParameterNames32(i: Int, s: String) {}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames33(i: Int, s: String) {}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames34(i: Int, s: String) {}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames35(arg0: Int, arg1: String) {}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames36(i: Int, s: String) {}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames37(arg0: Int, arg1: String) {}
fun functionMismatchedParameterNames33(i: Int, s: String) {
}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames38(i: Int, s: String) {}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames39(i: Int, s: String) {}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames40(i: Int, s: String) {}
fun functionMismatchedParameterNames34(i: Int, s: String) {
}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames41(arg0: Int, arg1: String) {}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames42(arg0: Int, arg1: String) {}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames43(arg0: Int, arg1: String) {}
fun functionMismatchedParameterNames35(arg0: Int, arg1: String) {
}
@kotlinx.cinterop.ObjCMethod
fun overloadedFunctionByParameterNames(i: Int, s: String) {}
fun functionMismatchedParameterNames36(i: Int, s: String) {
}
@kotlinx.cinterop.ObjCMethod
fun overloadedFunctionByParameterNames(xi: Int, xs: String) {}
fun functionMismatchedParameterNames37(arg0: Int, arg1: String) {
}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames38(i: Int, s: String) {
}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames39(i: Int, s: String) {
}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames40(i: Int, s: String) {
}
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames41(arg0: Int, arg1: String) {
}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames42(arg0: Int, arg1: String) {
}
// hasStableParameterNames=false
@kotlinx.cinterop.ObjCMethod
fun functionMismatchedParameterNames43(arg0: Int, arg1: String) {
}
@kotlinx.cinterop.ObjCMethod
fun overloadedFunctionByParameterNames(i: Int, s: String) {
}
@kotlinx.cinterop.ObjCMethod
fun overloadedFunctionByParameterNames(xi: Int, xs: String) {
}
fun functionMismatchedParameterCount1(i: Int, s: String, l: List<Double>) {}
fun functionMismatchedParameterCount2(i: Int, s: String) {}
@@ -1,5 +1,10 @@
expect annotation class CommonAnnotationForAnnotationClassesOnly(text: String) { val text: String }
expect annotation class CommonAnnotation(text: String) { val text: String }
expect annotation class CommonAnnotationForAnnotationClassesOnly(text: String) {
val text: String
}
expect annotation class CommonAnnotation(text: String) {
val text: String
}
expect var propertyWithoutBackingField: Double
expect val propertyWithBackingField: Double
@@ -9,6 +14,9 @@ expect val <T : CharSequence> T.propertyWithExtensionReceiver: Int
expect fun function1(text: String): String
expect fun <Q : Number> Q.function2(): Q
expect class AnnotatedClass(value: String) { val value: String }
expect class AnnotatedClass(value: String) {
val value: String
}
typealias AnnotatedLiftedUpTypeAlias = AnnotatedClass
expect class AnnotatedNonLiftedUpTypeAlias
@@ -30,7 +30,13 @@ actual val propertyWithBackingField = 3.14
@delegate:CommonAnnotation("field")
actual val propertyWithDelegateField: Int by lazy { 42 }
actual val <@JsAnnotation("type-parameter") @CommonAnnotation("type-parameter") T : CharSequence> @receiver:JsAnnotation("receiver") @receiver:CommonAnnotation("receiver") T.propertyWithExtensionReceiver: Int
actual val <
@JsAnnotation("type-parameter")
@CommonAnnotation("type-parameter")
T : CharSequence>
@receiver:JsAnnotation("receiver")
@receiver:CommonAnnotation("receiver")
T.propertyWithExtensionReceiver: Int
get() = length
@JsAnnotation("function")
@@ -39,7 +45,13 @@ actual fun function1(@JsAnnotation("parameter") @CommonAnnotation("parameter") t
@JsAnnotation("function")
@CommonAnnotation("function")
actual fun <@JsAnnotation("type-parameter") @CommonAnnotation("type-parameter") Q : Number> @receiver:JsAnnotation("receiver") @receiver:CommonAnnotation("receiver") Q.function2(): Q = this
actual fun <
@JsAnnotation("type-parameter")
@CommonAnnotation("type-parameter")
Q : Number>
@receiver:JsAnnotation("receiver")
@receiver:CommonAnnotation("receiver")
Q.function2(): Q = this
@JsAnnotation("class")
@CommonAnnotation("class")
@@ -30,7 +30,13 @@ actual val propertyWithBackingField = 3.14
@delegate:CommonAnnotation("field")
actual val propertyWithDelegateField: Int by lazy { 42 }
actual val <@JvmAnnotation("type-parameter") @CommonAnnotation("type-parameter") T : CharSequence> @receiver:JvmAnnotation("receiver") @receiver:CommonAnnotation("receiver") T.propertyWithExtensionReceiver: Int
actual val <
@JvmAnnotation("type-parameter")
@CommonAnnotation("type-parameter")
T : CharSequence>
@receiver:JvmAnnotation("receiver")
@receiver:CommonAnnotation("receiver")
T.propertyWithExtensionReceiver: Int
get() = length
@JvmAnnotation("function")
@@ -39,7 +45,13 @@ actual fun function1(@JvmAnnotation("parameter") @CommonAnnotation("parameter")
@JvmAnnotation("function")
@CommonAnnotation("function")
actual fun <@JvmAnnotation("type-parameter") @CommonAnnotation("type-parameter") Q : Number> @receiver:JvmAnnotation("receiver") @receiver:CommonAnnotation("receiver") Q.function2(): Q = this
actual fun <
@JvmAnnotation("type-parameter")
@CommonAnnotation("type-parameter")
Q : Number>
@receiver:JvmAnnotation("receiver")
@receiver:CommonAnnotation("receiver")
Q.function2(): Q = this
@JvmAnnotation("class")
@CommonAnnotation("class")
@@ -30,7 +30,13 @@ val propertyWithBackingField = 3.14
@delegate:CommonAnnotation("field")
val propertyWithDelegateField: Int by lazy { 42 }
val <@JsAnnotation("type-parameter") @CommonAnnotation("type-parameter") T : CharSequence> @receiver:JsAnnotation("receiver") @receiver:CommonAnnotation("receiver") T.propertyWithExtensionReceiver: Int
val <
@JsAnnotation("type-parameter")
@CommonAnnotation("type-parameter")
T : CharSequence>
@receiver:JsAnnotation("receiver")
@receiver:CommonAnnotation("receiver")
T.propertyWithExtensionReceiver: Int
get() = length
@JsAnnotation("function")
@@ -39,7 +45,14 @@ fun function1(@JsAnnotation("parameter") @CommonAnnotation("parameter") text: St
@JsAnnotation("function")
@CommonAnnotation("function")
fun <@JsAnnotation("type-parameter") @CommonAnnotation("type-parameter") Q : @JsAnnotation("type1") @CommonAnnotation("type1") Number> @receiver:JsAnnotation("receiver") @receiver:CommonAnnotation("receiver") Q.function2(): @JsAnnotation("type2") @CommonAnnotation("type2") Q = this
fun <
@JsAnnotation("type-parameter")
@CommonAnnotation("type-parameter")
Q : @JsAnnotation("type1")
@CommonAnnotation("type1") Number>
@receiver:JsAnnotation("receiver")
@receiver:CommonAnnotation("receiver")
Q.function2(): @JsAnnotation("type2") @CommonAnnotation("type2") Q = this
@JsAnnotation("class")
@CommonAnnotation("class")
@@ -30,7 +30,13 @@ val propertyWithBackingField = 3.14
@delegate:CommonAnnotation("field")
val propertyWithDelegateField: Int by lazy { 42 }
val <@JvmAnnotation("type-parameter") @CommonAnnotation("type-parameter") T : CharSequence> @receiver:JvmAnnotation("receiver") @receiver:CommonAnnotation("receiver") T.propertyWithExtensionReceiver: Int
val <
@JvmAnnotation("type-parameter")
@CommonAnnotation("type-parameter")
T : CharSequence>
@receiver:JvmAnnotation("receiver")
@receiver:CommonAnnotation("receiver")
T.propertyWithExtensionReceiver: Int
get() = length
@JvmAnnotation("function")
@@ -39,7 +45,15 @@ fun function1(@JvmAnnotation("parameter") @CommonAnnotation("parameter") text: S
@JvmAnnotation("function")
@CommonAnnotation("function")
fun <@JvmAnnotation("type-parameter") @CommonAnnotation("type-parameter") Q : @JvmAnnotation("type1") @CommonAnnotation("type1") Number> @receiver:JvmAnnotation("receiver") @receiver:CommonAnnotation("receiver") Q.function2(): @JvmAnnotation("type2") @CommonAnnotation("type2") Q = this
fun <
@JvmAnnotation("type-parameter")
@CommonAnnotation("type-parameter")
Q : @JvmAnnotation("type1")
@CommonAnnotation("type1")
Number>
@receiver:JvmAnnotation("receiver")
@receiver:CommonAnnotation("receiver")
Q.function2(): @JvmAnnotation("type2") @CommonAnnotation("type2") Q = this
@JvmAnnotation("class")
@CommonAnnotation("class")
@@ -1,5 +1,6 @@
var defaultSetter1 = 42
var defaultSetter2 = 42 // intentionally commented setter declaration
// set
var defaultSetter3 = 42
set
@@ -15,17 +16,18 @@ var setterWithDelegation2 = 42 // intentionally left without delegation
var defaultSetteCustomVisibility1 = 42
public set
var defaultSetteCustomVisibility2 = 42
// internal set
// internal set
public set // intentionally used public visibility
var defaultSetteCustomVisibility3 = 42
internal set
var defaultSetteCustomVisibility4 = 42
// private set
// private set
internal set // intentionally used internal visibility
var defaultSetteCustomVisibility5 = 42
private set
val propertyWithoutSetter = 42
//var propertyMaybeSetter = 42
val propertyMaybeSetter = 42 // fixed to be a property without setter
var propertyWithSetter = 42