[Test] Update dumps of fir metadata where it differs on different platforms
This commit is contained in:
committed by
Space Team
parent
357c552b5f
commit
6521729466
Vendored
+34
@@ -0,0 +1,34 @@
|
||||
public final annotation class Ann : R|kotlin/Annotation| {
|
||||
public final val e: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public constructor(e: R|kotlin/Int|): R|test/Ann|
|
||||
|
||||
}
|
||||
|
||||
@R|test/MyRequiresOptIn|(a = String(), b = R|test/MyRequiresOptIn.MyLevel.ERROR|) public final annotation class MyRequiresOptIn : R|kotlin/Annotation| {
|
||||
public final val a: R|kotlin/String| = String()
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public final val b: R|test/MyRequiresOptIn.MyLevel| = test/MyRequiresOptIn.MyLevel.ERROR
|
||||
public get(): R|test/MyRequiresOptIn.MyLevel|
|
||||
|
||||
public constructor(a: R|kotlin/String| = STUB, b: R|test/MyRequiresOptIn.MyLevel| = STUB): R|test/MyRequiresOptIn|
|
||||
|
||||
public final enum class MyLevel : R|kotlin/Enum<test/MyRequiresOptIn.MyLevel>| {
|
||||
private constructor(): R|test/MyRequiresOptIn.MyLevel|
|
||||
|
||||
public final static enum entry WARNING: R|test/MyRequiresOptIn.MyLevel|
|
||||
public final static enum entry ERROR: R|test/MyRequiresOptIn.MyLevel|
|
||||
public final static fun values(): R|kotlin/Array<test/MyRequiresOptIn.MyLevel>| {
|
||||
}
|
||||
|
||||
public final static fun valueOf(value: R|kotlin/String|): R|test/MyRequiresOptIn.MyLevel| {
|
||||
}
|
||||
|
||||
public final static val entries: R|kotlin/enums/EnumEntries<test/MyRequiresOptIn.MyLevel>|
|
||||
public get(): R|kotlin/enums/EnumEntries<test/MyRequiresOptIn.MyLevel>|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Vendored
+34
@@ -0,0 +1,34 @@
|
||||
public final annotation class Ann : R|kotlin/Annotation| {
|
||||
public final val e: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public constructor(@R|test/Ann|(e = Int(1)) e: R|kotlin/Int|): R|test/Ann|
|
||||
|
||||
}
|
||||
|
||||
@R|test/MyRequiresOptIn|(a = String(), b = R|test/MyRequiresOptIn.MyLevel.ERROR|) public final annotation class MyRequiresOptIn : R|kotlin/Annotation| {
|
||||
public final val a: R|kotlin/String|
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public final val b: R|test/MyRequiresOptIn.MyLevel|
|
||||
public get(): R|test/MyRequiresOptIn.MyLevel|
|
||||
|
||||
public constructor(a: R|kotlin/String| = STUB, @R|test/MyRequiresOptIn|(a = String(), b = R|test/MyRequiresOptIn.MyLevel.WARNING|) b: R|test/MyRequiresOptIn.MyLevel| = STUB): R|test/MyRequiresOptIn|
|
||||
|
||||
public final enum class MyLevel : R|kotlin/Enum<test/MyRequiresOptIn.MyLevel>| {
|
||||
private constructor(): R|test/MyRequiresOptIn.MyLevel|
|
||||
|
||||
public final static enum entry WARNING: R|test/MyRequiresOptIn.MyLevel|
|
||||
public final static enum entry ERROR: R|test/MyRequiresOptIn.MyLevel|
|
||||
public final static fun values(): R|kotlin/Array<test/MyRequiresOptIn.MyLevel>| {
|
||||
}
|
||||
|
||||
public final static fun valueOf(value: R|kotlin/String|): R|test/MyRequiresOptIn.MyLevel| {
|
||||
}
|
||||
|
||||
public final static val entries: R|kotlin/enums/EnumEntries<test/MyRequiresOptIn.MyLevel>|
|
||||
public get(): R|kotlin/enums/EnumEntries<test/MyRequiresOptIn.MyLevel>|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
+2
-1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
// NO_CHECK_SOURCE_VS_BINARY
|
||||
// MUTE_REASON: KT-58935
|
||||
|
||||
@@ -14,4 +15,4 @@ public annotation class MyRequiresOptIn(
|
||||
WARNING,
|
||||
ERROR,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
public final class Class : R|kotlin/Any| {
|
||||
public constructor(): R|test/Class|
|
||||
|
||||
public final companion object Companion : R|kotlin/Any| {
|
||||
field:@FIELD:R|test/Anno|() public final var property: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
private constructor(): R|test/Class.Companion|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
public final class Class : R|kotlin/Any| {
|
||||
public constructor(): R|test/Class|
|
||||
|
||||
public final companion object Companion : R|kotlin/Any| {
|
||||
public final var property: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
private constructor(): R|test/Class.Companion|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
public final class Class : R|kotlin/Any| {
|
||||
public final val property: R|kotlin/Int|
|
||||
@R|test/Anno|() public get(): R|kotlin/Int|
|
||||
|
||||
public constructor(): R|test/Class|
|
||||
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
public final class Class : R|kotlin/Any| {
|
||||
public final val property: R|kotlin/Int|
|
||||
@PROPERTY_GETTER:R|test/Anno|() public get(): R|kotlin/Int|
|
||||
|
||||
public constructor(): R|test/Class|
|
||||
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
public final annotation class Ann : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Ann|
|
||||
|
||||
}
|
||||
|
||||
public sealed class Sealed : R|kotlin/Any| {
|
||||
public final val z: R|test/Z|
|
||||
public get(): R|test/Z|
|
||||
|
||||
@R|test/Ann|() protected constructor(@R|test/Ann|() z: R|test/Z|): R|test/Sealed|
|
||||
|
||||
public final class Derived : R|test/Sealed| {
|
||||
@R|test/Ann|() public constructor(z: R|test/Z|): R|test/Sealed.Derived|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public final class Test : R|kotlin/Any| {
|
||||
public final val z: R|test/Z|
|
||||
public get(): R|test/Z|
|
||||
|
||||
@R|test/Ann|() public constructor(@R|test/Ann|() z: R|test/Z|): R|test/Test|
|
||||
|
||||
@R|test/Ann|() public constructor(z: R|test/Z|, @R|test/Ann|() a: R|kotlin/Int|): R|test/Test|
|
||||
|
||||
@R|test/Ann|() private constructor(z: R|test/Z|, @R|test/Ann|() s: R|kotlin/String|): R|test/Test|
|
||||
|
||||
}
|
||||
|
||||
public final inline class Z : R|kotlin/Any| {
|
||||
public open operator fun equals(other: R|kotlin/Any?|): R|kotlin/Boolean|
|
||||
|
||||
public open fun hashCode(): R|kotlin/Int|
|
||||
|
||||
public open fun toString(): R|kotlin/String|
|
||||
|
||||
public final val x: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public constructor(x: R|kotlin/Int|): R|test/Z|
|
||||
|
||||
}
|
||||
+2
-1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
// !LANGUAGE: +InlineClasses
|
||||
// NO_CHECK_SOURCE_VS_BINARY
|
||||
package test
|
||||
@@ -13,4 +14,4 @@ class Test @Ann constructor(@Ann val z: Z) {
|
||||
|
||||
sealed class Sealed @Ann constructor(@Ann val z: Z) {
|
||||
class Derived @Ann constructor(z: Z) : Sealed(z)
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
public final class Class : R|kotlin/Any| {
|
||||
public final var property: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public constructor(): R|test/Class|
|
||||
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
@R|kotlin/jvm/JvmInline|() public final inline class Z : R|kotlin/Any| {
|
||||
public open operator fun equals(other: R|kotlin/Any?|): R|kotlin/Boolean|
|
||||
|
||||
public open fun hashCode(): R|kotlin/Int|
|
||||
|
||||
public open fun toString(): R|kotlin/String|
|
||||
|
||||
public final val value: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
@R|kotlin/PublishedApi|() internal constructor(value: R|kotlin/Int|): R|test/Z|
|
||||
|
||||
}
|
||||
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
public final inline class Z : R|kotlin/Any| {
|
||||
public open operator fun equals(other: R|kotlin/Any?|): R|kotlin/Boolean|
|
||||
|
||||
public open fun hashCode(): R|kotlin/Int|
|
||||
|
||||
public open fun toString(): R|kotlin/String|
|
||||
|
||||
public final val value: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
@R|kotlin/PublishedApi|() internal constructor(value: R|kotlin/Int|): R|test/Z|
|
||||
|
||||
}
|
||||
+2
-1
@@ -1,6 +1,7 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
// !LANGUAGE: +InlineClasses
|
||||
// NO_CHECK_SOURCE_VS_BINARY
|
||||
package test
|
||||
|
||||
|
||||
inline class Z @PublishedApi internal constructor(val value: Int)
|
||||
inline class Z @PublishedApi internal constructor(val value: Int)
|
||||
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
public final class Class : R|kotlin/Any| {
|
||||
public final var property: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
@R|test/Anno|() public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public constructor(): R|test/Class|
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
public final class Class : R|kotlin/Any| {
|
||||
public final var property: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
@PROPERTY_SETTER:R|test/Anno|() public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public constructor(): R|test/Class|
|
||||
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
public final val property: R|kotlin/Int|
|
||||
@R|test/Anno|() public get(): R|kotlin/Int|
|
||||
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
public final val property: R|kotlin/Int|
|
||||
@PROPERTY_GETTER:R|test/Anno|() public get(): R|kotlin/Int|
|
||||
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
field:@FIELD:R|test/Anno|() public final var property: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
public final var property: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
public final var property: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
@R|test/Anno|() public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
public final var property: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
@PROPERTY_SETTER:R|test/Anno|() public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
field:@FIELD:R|test/Anno|(t = <implicitArrayOf>(String(prosper))) public final val bar: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
@R|test/Anno|(t = <implicitArrayOf>()) public final fun baz(): R|kotlin/Unit|
|
||||
|
||||
@R|test/Anno|(t = <implicitArrayOf>(String(live), String(long))) public final fun foo(): R|kotlin/Unit|
|
||||
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public final val t: R|kotlin/Array<out kotlin/String>|
|
||||
public get(): R|kotlin/Array<out kotlin/String>|
|
||||
|
||||
public constructor(vararg t: R|kotlin/Array<out kotlin/String>|): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
public final val bar: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
@R|test/Anno|() public final fun baz(): R|kotlin/Unit|
|
||||
|
||||
@R|test/Anno|(t = String(live)) public final fun foo(): R|kotlin/Unit|
|
||||
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public final val t: R|kotlin/Array<out kotlin/String>|
|
||||
public get(): R|kotlin/Array<out kotlin/String>|
|
||||
|
||||
public constructor(vararg t: R|kotlin/Array<out kotlin/String>|): R|test/Anno|
|
||||
|
||||
}
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
//ALLOW_AST_ACCESS
|
||||
package test
|
||||
|
||||
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
@R|kotlin/annotation/Target|(allowedTargets = <implicitArrayOf>(R|kotlin/annotation/AnnotationTarget.TYPE|)) public final annotation class A : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/A|
|
||||
|
||||
}
|
||||
|
||||
public abstract interface Foo<T : R|@R|test/A|() kotlin/Number|> : R|@R|test/A|() java/io/Serializable| {
|
||||
public abstract fun <E, F : R|E|> bar(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
@R|kotlin/annotation/Target|(allowedTargets = <implicitArrayOf>(R|kotlin/annotation/AnnotationTarget.TYPE|)) public final annotation class A : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/A|
|
||||
|
||||
}
|
||||
|
||||
public abstract interface Foo<T : R|@R|test/A|() kotlin/Number|> : R|@R|test/A|() kotlin/io/Serializable| {
|
||||
public abstract fun <E, F : R|E|> bar(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
//ALLOW_AST_ACCESS
|
||||
|
||||
package test
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
public final class Class : R|kotlin/Any| {
|
||||
field:@PROPERTY_DELEGATE_FIELD:R|test/Anno|() public final val property: R|kotlin/String|
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public constructor(): R|test/Class|
|
||||
|
||||
}
|
||||
|
||||
public final class CustomDelegate : R|kotlin/Any| {
|
||||
public final operator fun getValue(thisRef: R|kotlin/Any?|, prop: R|kotlin/reflect/KProperty<*>|): R|kotlin/String|
|
||||
|
||||
public constructor(): R|test/CustomDelegate|
|
||||
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
public final class Class : R|kotlin/Any| {
|
||||
public final val property: R|kotlin/String|
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public constructor(): R|test/Class|
|
||||
|
||||
}
|
||||
|
||||
public final class CustomDelegate : R|kotlin/Any| {
|
||||
public final operator fun getValue(thisRef: R|kotlin/Any?|, prop: R|kotlin/reflect/KProperty<*>|): R|kotlin/String|
|
||||
|
||||
public constructor(): R|test/CustomDelegate|
|
||||
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
// ALLOW_AST_ACCESS
|
||||
|
||||
package test
|
||||
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
public final class Class : R|kotlin/Any| {
|
||||
field:@FIELD:R|test/Anno|() public final var property: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public constructor(): R|test/Class|
|
||||
|
||||
}
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
public final class Class : R|kotlin/Any| {
|
||||
field:@FIELD:R|test/Anno|() public final var property: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public constructor(): R|test/Class|
|
||||
|
||||
}
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
public final class Class : R|kotlin/Any| {
|
||||
public final var property: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public constructor(): R|test/Class|
|
||||
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
public final annotation class A : R|kotlin/Annotation| {
|
||||
public final val value: R|kotlin/String|
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public constructor(value: R|kotlin/String|): R|test/A|
|
||||
|
||||
}
|
||||
|
||||
public final annotation class B : R|kotlin/Annotation| {
|
||||
public final val value: R|kotlin/Array<kotlin/String>|
|
||||
public get(): R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public constructor(value: R|kotlin/Array<kotlin/String>|): R|test/B|
|
||||
|
||||
}
|
||||
|
||||
public abstract interface I : R|kotlin/Any| {
|
||||
@PROPERTY:R|test/A|(value = String(property)) public abstract var propertyAndGetter: R|kotlin/Int|
|
||||
@PROPERTY_GETTER:R|test/B|(value = <implicitArrayOf>(String(getter))) public get(): R|kotlin/Int|
|
||||
public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
@PROPERTY:R|test/A|(value = String(property)) public abstract var propertyAndSetter: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
@PROPERTY_SETTER:R|test/B|(value = <implicitArrayOf>(String(setter))) public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public abstract var getterAndSetter: R|kotlin/Int|
|
||||
@PROPERTY_GETTER:R|test/A|(value = String(getter)) public get(): R|kotlin/Int|
|
||||
@PROPERTY_SETTER:R|test/B|(value = <implicitArrayOf>(String(setter))) public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
package test
|
||||
|
||||
annotation class A(val value: String)
|
||||
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
public final class A : R|kotlin/Any| {
|
||||
public final fun @RECEIVER:R|test/Ann|() R|kotlin/String|.myLength(@R|test/Ann|() q: R|kotlin/String|): R|kotlin/Int|
|
||||
|
||||
public final val @RECEIVER:R|test/Ann|() R|kotlin/String|.myLength2: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public final var @RECEIVER:R|test/Ann|() R|kotlin/String|.myLength3: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
public set(v: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public constructor(): R|test/A|
|
||||
|
||||
}
|
||||
|
||||
@R|kotlin/annotation/Target|(allowedTargets = <implicitArrayOf>(R|kotlin/annotation/AnnotationTarget.VALUE_PARAMETER|)) public final annotation class Ann : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Ann|
|
||||
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
public final class A : R|kotlin/Any| {
|
||||
public final fun R|kotlin/String|.myLength(@R|test/Ann|() q: R|kotlin/String|): R|kotlin/Int|
|
||||
|
||||
public final val R|kotlin/String|.myLength2: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public final var R|kotlin/String|.myLength3: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
public set(v: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public constructor(): R|test/A|
|
||||
|
||||
}
|
||||
|
||||
@R|kotlin/annotation/Target|(allowedTargets = <implicitArrayOf>(R|kotlin/annotation/AnnotationTarget.VALUE_PARAMETER|)) public final annotation class Ann : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Ann|
|
||||
|
||||
}
|
||||
+2
-1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
//ALLOW_AST_ACCESS
|
||||
package test
|
||||
|
||||
@@ -17,4 +18,4 @@ class A {
|
||||
get() = length
|
||||
set(v) {}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
public open class AllBoundsInWhen : R|kotlin/Any| {
|
||||
public open fun <T : R|java/io/Serializable|> foo(): R|kotlin/Unit|
|
||||
|
||||
public constructor(): R|test/AllBoundsInWhen|
|
||||
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
public open class AllBoundsInWhen : R|kotlin/Any| {
|
||||
public open fun <T : R|kotlin/io/Serializable|> foo(): R|kotlin/Unit|
|
||||
|
||||
public constructor(): R|test/AllBoundsInWhen|
|
||||
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
package test
|
||||
|
||||
import java.io.Serializable
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
public final fun ff(p: R|kotlin/collections/List<java/lang/CharSequence?>|): R|kotlin/Int|
|
||||
+1
@@ -0,0 +1 @@
|
||||
public final fun ff(p: R|kotlin/collections/List<kotlin/CharSequence?>|): R|kotlin/Int|
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
//ALLOW_AST_ACCESS
|
||||
package test
|
||||
|
||||
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final val R|kotlin/Int|.ggg: R|java/lang/CharSequence|
|
||||
public get(): R|java/lang/CharSequence|
|
||||
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
public final val R|kotlin/Int|.ggg: R|kotlin/CharSequence|
|
||||
public get(): R|kotlin/CharSequence|
|
||||
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
package test
|
||||
|
||||
import java.lang.CharSequence
|
||||
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final val R|kotlin/Int|.ggg: R|java/lang/CharSequence?|
|
||||
public get(): R|java/lang/CharSequence?|
|
||||
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
public final val R|kotlin/Int|.ggg: R|kotlin/CharSequence?|
|
||||
public get(): R|kotlin/CharSequence?|
|
||||
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
package test
|
||||
|
||||
import java.lang.CharSequence
|
||||
|
||||
Vendored
+29
@@ -0,0 +1,29 @@
|
||||
public final val nonConstVal1: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public final class C : R|kotlin/Any| {
|
||||
public final val nonConstVal2: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public constructor(): R|test/C|
|
||||
|
||||
public final companion object Companion : R|kotlin/Any| {
|
||||
public final val nonConstVal3: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
private constructor(): R|test/C.Companion|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public abstract interface I : R|kotlin/Any| {
|
||||
public final companion object Companion : R|kotlin/Any| {
|
||||
public final val nonConstVal4: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
private constructor(): R|test/I.Companion|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
compiler/testData/loadJava/compiledKotlin/prop/nonConstValWithConstantValueAttribute.fir.k2.klib.txt
Vendored
+29
@@ -0,0 +1,29 @@
|
||||
public final val nonConstVal1: R|kotlin/Int| = Int(1)
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public final class C : R|kotlin/Any| {
|
||||
public final val nonConstVal2: R|kotlin/Int| = Int(2)
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public constructor(): R|test/C|
|
||||
|
||||
public final companion object Companion : R|kotlin/Any| {
|
||||
public final val nonConstVal3: R|kotlin/Int| = Int(3)
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
private constructor(): R|test/C.Companion|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public abstract interface I : R|kotlin/Any| {
|
||||
public final companion object Companion : R|kotlin/Any| {
|
||||
public final val nonConstVal4: R|kotlin/Int| = Int(4)
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
private constructor(): R|test/I.Companion|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
// !LANGUAGE: -NoConstantValueAttributeForNonConstVals
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
//ALLOW_AST_ACCESS
|
||||
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
@R|test/Ann|() public final typealias A1 = R|kotlin/String|
|
||||
|
||||
@R|test/Ann|(value = String(OK)) public final typealias A2 = R|kotlin/String|
|
||||
|
||||
@R|kotlin/annotation/Target|(allowedTargets = <implicitArrayOf>(R|kotlin/annotation/AnnotationTarget.TYPEALIAS|)) public final annotation class Ann : R|kotlin/Annotation| {
|
||||
public final val value: R|kotlin/String| = String()
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public constructor(value: R|kotlin/String| = STUB): R|test/Ann|
|
||||
|
||||
}
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
@R|test/Ann|() public final typealias A1 = R|kotlin/String|
|
||||
|
||||
@R|test/Ann|(value = String(OK)) public final typealias A2 = R|kotlin/String|
|
||||
|
||||
@R|kotlin/annotation/Target|(allowedTargets = <implicitArrayOf>(R|kotlin/annotation/AnnotationTarget.TYPEALIAS|)) public final annotation class Ann : R|kotlin/Annotation| {
|
||||
public final val value: R|kotlin/String|
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public constructor(value: R|kotlin/String| = STUB): R|test/Ann|
|
||||
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
//ALLOW_AST_ACCESS
|
||||
// NO_CHECK_SOURCE_VS_BINARY
|
||||
//^ While compiling source, we do not store annotation default values, but we load them when reading compiled files
|
||||
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
@R|test/OptionGroups|(o1 = @R|test/StringOptions|(option = <implicitArrayOf>(String(abc), String(d), String(ef))) , o2 = @R|test/EnumOption|(option = R|test/E.ENTRY|) ) public final class AnnotationInAnnotationArguments : R|kotlin/Any| {
|
||||
public constructor(): R|test/AnnotationInAnnotationArguments|
|
||||
|
||||
}
|
||||
|
||||
public final enum class E : R|kotlin/Enum<test/E>| {
|
||||
private constructor(): R|test/E|
|
||||
|
||||
public final static enum entry ENTRY: R|test/E|
|
||||
public final static fun values(): R|kotlin/Array<test/E>| {
|
||||
}
|
||||
|
||||
public final static fun valueOf(value: R|kotlin/String|): R|test/E| {
|
||||
}
|
||||
|
||||
public final static val entries: R|kotlin/enums/EnumEntries<test/E>|
|
||||
public get(): R|kotlin/enums/EnumEntries<test/E>|
|
||||
|
||||
}
|
||||
|
||||
public final annotation class EnumOption : R|kotlin/Annotation| {
|
||||
public final val option: R|test/E|
|
||||
public get(): R|test/E|
|
||||
|
||||
public constructor(option: R|test/E|): R|test/EnumOption|
|
||||
|
||||
}
|
||||
|
||||
public final annotation class OptionGroups : R|kotlin/Annotation| {
|
||||
public final val o1: R|test/StringOptions|
|
||||
public get(): R|test/StringOptions|
|
||||
|
||||
public final val o2: R|test/EnumOption|
|
||||
public get(): R|test/EnumOption|
|
||||
|
||||
public constructor(o1: R|test/StringOptions|, o2: R|test/EnumOption|): R|test/OptionGroups|
|
||||
|
||||
}
|
||||
|
||||
public final annotation class StringOptions : R|kotlin/Annotation| {
|
||||
public final val option: R|kotlin/Array<out kotlin/String>|
|
||||
public get(): R|kotlin/Array<out kotlin/String>|
|
||||
|
||||
public constructor(vararg option: R|kotlin/Array<out kotlin/String>|): R|test/StringOptions|
|
||||
|
||||
}
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
@R|test/OptionGroups|(o1 = @R|test/StringOptions|(option = String(abc)) , o2 = @R|test/EnumOption|(option = R|test/E.ENTRY|) ) public final class AnnotationInAnnotationArguments : R|kotlin/Any| {
|
||||
public constructor(): R|test/AnnotationInAnnotationArguments|
|
||||
|
||||
}
|
||||
|
||||
public final enum class E : R|kotlin/Enum<test/E>| {
|
||||
private constructor(): R|test/E|
|
||||
|
||||
public final static enum entry ENTRY: R|test/E|
|
||||
public final static fun values(): R|kotlin/Array<test/E>| {
|
||||
}
|
||||
|
||||
public final static fun valueOf(value: R|kotlin/String|): R|test/E| {
|
||||
}
|
||||
|
||||
public final static val entries: R|kotlin/enums/EnumEntries<test/E>|
|
||||
public get(): R|kotlin/enums/EnumEntries<test/E>|
|
||||
|
||||
}
|
||||
|
||||
public final annotation class EnumOption : R|kotlin/Annotation| {
|
||||
public final val option: R|test/E|
|
||||
public get(): R|test/E|
|
||||
|
||||
public constructor(option: R|test/E|): R|test/EnumOption|
|
||||
|
||||
}
|
||||
|
||||
public final annotation class OptionGroups : R|kotlin/Annotation| {
|
||||
public final val o1: R|test/StringOptions|
|
||||
public get(): R|test/StringOptions|
|
||||
|
||||
public final val o2: R|test/EnumOption|
|
||||
public get(): R|test/EnumOption|
|
||||
|
||||
public constructor(o1: R|test/StringOptions|, o2: R|test/EnumOption|): R|test/OptionGroups|
|
||||
|
||||
}
|
||||
|
||||
public final annotation class StringOptions : R|kotlin/Annotation| {
|
||||
public final val option: R|kotlin/Array<out kotlin/String>|
|
||||
public get(): R|kotlin/Array<out kotlin/String>|
|
||||
|
||||
public constructor(vararg option: R|kotlin/Array<out kotlin/String>|): R|test/StringOptions|
|
||||
|
||||
}
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
// ALLOW_AST_ACCESS
|
||||
package test
|
||||
|
||||
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
public abstract interface I : R|kotlin/Any| {
|
||||
public final companion object Companion : R|kotlin/Any| {
|
||||
field:@FIELD:R|kotlin/jvm/JvmField|() public final val x: R|kotlin/String|
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
field:@FIELD:R|kotlin/jvm/JvmField|() public final val y: R|kotlin/String|
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
private constructor(): R|test/I.Companion|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
public abstract interface I : R|kotlin/Any| {
|
||||
public final companion object Companion : R|kotlin/Any| {
|
||||
public final val x: R|kotlin/String| = String(x)
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public final val y: R|kotlin/String| = String(y)
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
private constructor(): R|test/I.Companion|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
// NO_CHECK_SOURCE_VS_BINARY
|
||||
|
||||
package test
|
||||
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public final val value: R|kotlin/String| = String(0)
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public final val x: R|kotlin/Int| = Int(0)
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public constructor(value: R|kotlin/String| = STUB, x: R|kotlin/Int| = STUB): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
public final annotation class Bnno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Bnno|
|
||||
|
||||
}
|
||||
|
||||
public final enum class Eee : R|kotlin/Enum<test/Eee>| {
|
||||
private constructor(): R|test/Eee|
|
||||
|
||||
public final static enum entry Entry1: R|test/Eee|
|
||||
public final static enum entry Entry2: R|test/Eee|
|
||||
public final static enum entry Entry3: R|test/Eee|
|
||||
public final static enum entry Entry4: R|test/Eee|
|
||||
public final static fun values(): R|kotlin/Array<test/Eee>| {
|
||||
}
|
||||
|
||||
public final static fun valueOf(value: R|kotlin/String|): R|test/Eee| {
|
||||
}
|
||||
|
||||
public final static val entries: R|kotlin/enums/EnumEntries<test/Eee>|
|
||||
public get(): R|kotlin/enums/EnumEntries<test/Eee>|
|
||||
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public final val value: R|kotlin/String|
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public final val x: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public constructor(value: R|kotlin/String| = STUB, x: R|kotlin/Int| = STUB): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
public final annotation class Bnno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Bnno|
|
||||
|
||||
}
|
||||
|
||||
public final enum class Eee : R|kotlin/Enum<test/Eee>| {
|
||||
private constructor(): R|test/Eee|
|
||||
|
||||
public final static enum entry Entry1: R|test/Eee|
|
||||
public final static enum entry Entry2: R|test/Eee|
|
||||
public final static enum entry Entry3: R|test/Eee|
|
||||
public final static enum entry Entry4: R|test/Eee|
|
||||
public final static fun values(): R|kotlin/Array<test/Eee>| {
|
||||
}
|
||||
|
||||
public final static fun valueOf(value: R|kotlin/String|): R|test/Eee| {
|
||||
}
|
||||
|
||||
public final static val entries: R|kotlin/enums/EnumEntries<test/Eee>|
|
||||
public get(): R|kotlin/enums/EnumEntries<test/Eee>|
|
||||
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// PLATFORM_DEPENDANT_METADATA
|
||||
// ALLOW_AST_ACCESS
|
||||
// NO_CHECK_SOURCE_VS_BINARY
|
||||
//^ While compiling source, we do not store annotation default values, but we load them when reading compiled files
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user