Serialize compile time constant for property initializer

This commit is contained in:
Natalia Ukhorskaya
2014-02-06 14:53:13 +04:00
parent bb7312b47f
commit 9b5050dddd
23 changed files with 80 additions and 38 deletions
@@ -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