[Commonizer] Tests on lifting up identical const properties

^KMM-241
This commit is contained in:
Dmitriy Dolovov
2020-05-27 14:14:56 +07:00
parent 2ce1625989
commit 9f31931bb8
10 changed files with 133 additions and 12 deletions
@@ -1,6 +1,3 @@
const val constProperty1 = 42
const val constProperty2 = 42
actual val delegatedProperty1: Int by lazy { 42 }
actual val delegatedProperty2: Int by lazy { 42 }
actual val delegatedProperty3: Int by mapOf("delegatedProperty3" to 42)
@@ -1,6 +1,3 @@
const val constProperty1 = 42
val constProperty2 = 42 // intentionally left as non-const
actual val delegatedProperty1: Int by lazy { 42 }
actual val delegatedProperty2 = 42 // intentionally left as non-delegated
actual val delegatedProperty3: Int by mapOf("delegatedProperty3" to 42)