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
@@ -1,5 +1,5 @@
package test
internal val x: kotlin.Int
internal val x: kotlin.Int = 0.toInt()
internal fun <get-x>(): kotlin.Int
internal fun f(): kotlin.Int
@@ -1,4 +1,4 @@
package test
private val topLevelVal: kotlin.Int
private val topLevelVal: kotlin.Int = 0.toInt()
private fun <get-topLevelVal>(): kotlin.Int