38 lines
1.7 KiB
Plaintext
Vendored
38 lines
1.7 KiB
Plaintext
Vendored
FILE: withSuppression2.kt
|
|
public abstract class A : R|kotlin/Any| {
|
|
public constructor(): R|A| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
public final fun foo(i: R|kotlin/Int|): R|kotlin/Unit| {
|
|
}
|
|
public final inline class B : R|@R|kotlin/Suppress|(names = vararg(String(VALUE_CLASS_CANNOT_EXTEND_CLASSES))) A| {
|
|
public constructor(i: R|kotlin/Int|): R|B| {
|
|
super<R|@R|kotlin/Suppress|(names = vararg(String(VALUE_CLASS_CANNOT_EXTEND_CLASSES))) A|>()
|
|
}
|
|
|
|
public final val i: R|kotlin/Int| = R|<local>/i|
|
|
public get(): R|kotlin/Int|
|
|
|
|
@R|kotlin/Suppress|(names = vararg(String(SECONDARY_CONSTRUCTOR_WITH_BODY_INSIDE_VALUE_CLASS))) public constructor(): R|B| {
|
|
this<R|B|>(Int(42))
|
|
R|/foo|(this@R|/B|.R|/B.i|)
|
|
}
|
|
|
|
@R|kotlin/Suppress|(names = vararg(String(ABSTRACT_PROPERTY_IN_NON_ABSTRACT_CLASS))) public abstract val y: R|kotlin/Int|
|
|
public get(): R|kotlin/Int|
|
|
|
|
}
|
|
public abstract interface C : R|kotlin/Any| {
|
|
@R|kotlin/Suppress|(names = vararg(String(PRIVATE_PROPERTY_IN_INTERFACE))) private final val x: R|kotlin/Int|
|
|
private get(): R|kotlin/Int|
|
|
|
|
@R|kotlin/Suppress|(names = vararg(String(METHOD_OF_ANY_IMPLEMENTED_IN_INTERFACE))) public open override fun hashCode(): R|kotlin/Int| {
|
|
^hashCode Int(42)
|
|
}
|
|
|
|
}
|
|
@R|kotlin/Suppress|(names = vararg(String(PROPERTY_WITH_NO_TYPE_NO_INITIALIZER))) public final val z: <ERROR TYPE REF: Cannot infer variable type without initializer / getter / delegate>
|
|
public get(): <ERROR TYPE REF: Cannot infer variable type without initializer / getter / delegate>
|