Serialize compile time constant for property initializer
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ internal final class A {
|
||||
|
||||
internal class object <class-object-for-B> {
|
||||
/*primary*/ private constructor <class-object-for-B>()
|
||||
internal final val TEST: kotlin.Int
|
||||
internal final val TEST: kotlin.Int = 1.toInt()
|
||||
internal final fun <get-TEST>(): kotlin.Int
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
test.Anno(t = ElementType.FIELD: java.lang.annotation.ElementType) internal val bar: kotlin.Int
|
||||
test.Anno(t = ElementType.FIELD: java.lang.annotation.ElementType) internal val bar: kotlin.Int = 42.toInt()
|
||||
internal fun <get-bar>(): kotlin.Int
|
||||
test.Anno(t = ElementType.METHOD: java.lang.annotation.ElementType) internal fun foo(): kotlin.Unit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user