[Commonizer] Tests on lifting up identical const properties
^KMM-241
This commit is contained in:
-3
@@ -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)
|
||||
|
||||
-3
@@ -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)
|
||||
|
||||
-3
@@ -1,6 +1,3 @@
|
||||
const val constProperty1 = 42
|
||||
const val constProperty2 = 42
|
||||
|
||||
val delegatedProperty1: Int by lazy { 42 }
|
||||
val delegatedProperty2: Int by lazy { 42 }
|
||||
val delegatedProperty3: Int by mapOf("delegatedProperty3" to 42)
|
||||
|
||||
-3
@@ -1,6 +1,3 @@
|
||||
const val constProperty1 = 42
|
||||
val constProperty2 = 42 // intentionally left as non-const
|
||||
|
||||
val delegatedProperty1: Int by lazy { 42 }
|
||||
val delegatedProperty2 = 42 // intentionally left as non-delegated
|
||||
val delegatedProperty3: Int by mapOf("delegatedProperty3" to 42)
|
||||
|
||||
Reference in New Issue
Block a user