Serialize compile time constant for property initializer
This commit is contained in:
@@ -2,6 +2,6 @@ package test
|
||||
|
||||
internal final class ClassVal {
|
||||
/*primary*/ public constructor ClassVal()
|
||||
internal final val aa: kotlin.Int
|
||||
internal final val aa: kotlin.Int = 1.toInt()
|
||||
internal final fun <get-aa>(): kotlin.Int
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
internal val nsVal: kotlin.Int
|
||||
internal val nsVal: kotlin.Int = 1.toInt()
|
||||
internal fun <get-nsVal>(): kotlin.Int
|
||||
|
||||
@@ -2,12 +2,12 @@ package test
|
||||
|
||||
internal open class BaseClass {
|
||||
/*primary*/ public constructor BaseClass()
|
||||
internal open val shape: kotlin.String
|
||||
internal open val shape: kotlin.String = "square"
|
||||
internal open fun <get-shape>(): kotlin.String
|
||||
}
|
||||
|
||||
internal open class Subclass : test.BaseClass {
|
||||
/*primary*/ public constructor Subclass()
|
||||
internal open override /*1*/ val shape: kotlin.String
|
||||
internal open override /*1*/ val shape: kotlin.String = "circle"
|
||||
internal open override /*1*/ fun <get-shape>(): kotlin.String
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ package test
|
||||
|
||||
internal open class Subclass : test.Trait {
|
||||
/*primary*/ public constructor Subclass()
|
||||
internal open override /*1*/ val shape: kotlin.String
|
||||
internal open override /*1*/ val shape: kotlin.String = "circle"
|
||||
internal open override /*1*/ fun <get-shape>(): kotlin.String
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ package test
|
||||
|
||||
internal open class BaseClass {
|
||||
/*primary*/ public constructor BaseClass()
|
||||
internal final val exactly: kotlin.Int
|
||||
internal final val exactly: kotlin.Int = 17.toInt()
|
||||
internal final fun <get-exactly>(): kotlin.Int
|
||||
}
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@ package test
|
||||
|
||||
internal final class ClassVal {
|
||||
/*primary*/ public constructor ClassVal()
|
||||
internal final val property1: kotlin.Int
|
||||
internal final val property1: kotlin.Int = 1.toInt()
|
||||
internal final fun <get-property1>(): kotlin.Int
|
||||
internal final val property2: kotlin.Int
|
||||
internal final val property2: kotlin.Int = 1.toInt()
|
||||
internal final fun <get-property2>(): kotlin.Int
|
||||
private final val property3: java.lang.Object
|
||||
private final fun <get-property3>(): java.lang.Object
|
||||
|
||||
@@ -2,9 +2,9 @@ package test
|
||||
|
||||
internal final class ClassVal {
|
||||
/*primary*/ public constructor ClassVal()
|
||||
internal final val property1: kotlin.Int
|
||||
internal final val property1: kotlin.Int = 1.toInt()
|
||||
internal final fun <get-property1>(): kotlin.Int
|
||||
internal final val property2: kotlin.Int
|
||||
internal final val property2: kotlin.Int = 1.toInt()
|
||||
internal final fun <get-property2>(): kotlin.Int
|
||||
private final val property3: java.lang.Object
|
||||
private final fun <get-property3>(): java.lang.Object
|
||||
|
||||
Reference in New Issue
Block a user