[JS IR] Add JS IR IC tests about companion properties modifications
^KT-54479 Test
This commit is contained in:
committed by
Space Team
parent
cd87830ffa
commit
901ebcc043
+3
@@ -0,0 +1,3 @@
|
||||
fun test(): Int {
|
||||
return testStringProperty()
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
fun test(): Int {
|
||||
return testStringProperty() +
|
||||
testIntProperty()
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
fun test(): Int {
|
||||
return testStringProperty() +
|
||||
testIntProperty() +
|
||||
testPairProperty()
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
fun test(): Int {
|
||||
return testStringProperty() +
|
||||
testIntProperty() +
|
||||
testPairProperty() +
|
||||
testFuncProperty()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun test(): Int {
|
||||
return testIntProperty() + 4
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
inline fun testFuncProperty(): Int {
|
||||
return MyClass.funcProperty()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
inline fun testIntProperty(): Int {
|
||||
return MyClass.intProperty
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
inline fun testPairProperty(): Int {
|
||||
return MyClass.pairProperty.first + MyClass.pairProperty.second
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
inline fun testStringProperty(): Int {
|
||||
return MyClass.stringProperty.toInt()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
inline fun testStringProperty(): Int {
|
||||
return 0
|
||||
}
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
STEP 0:
|
||||
dependencies: lib1
|
||||
modifications:
|
||||
U : l2string.0.kt -> l2string.kt
|
||||
U : l2.0.kt -> l2.kt
|
||||
added file: l2.kt, l2string.kt
|
||||
STEP 1:
|
||||
dependencies: lib1
|
||||
modifications:
|
||||
U : l2int.1.kt -> l2int.kt
|
||||
U : l2.1.kt -> l2.kt
|
||||
added file: l2int.kt
|
||||
modified ir: l2.kt
|
||||
STEP 2:
|
||||
dependencies: lib1
|
||||
STEP 3:
|
||||
dependencies: lib1
|
||||
modifications:
|
||||
U : l2pair.3.kt -> l2pair.kt
|
||||
U : l2.3.kt -> l2.kt
|
||||
added file: l2pair.kt
|
||||
modified ir: l2.kt
|
||||
STEP 4:
|
||||
dependencies: lib1
|
||||
modifications:
|
||||
U : l2func.4.kt -> l2func.kt
|
||||
U : l2.4.kt -> l2.kt
|
||||
U : l2string.4.kt -> l2string.kt
|
||||
added file: l2func.kt
|
||||
modified ir: l2.kt, l2string.kt
|
||||
STEP 5:
|
||||
dependencies: lib1
|
||||
STEP 6:
|
||||
dependencies: lib1
|
||||
modifications:
|
||||
U : l2.6.kt -> l2.kt
|
||||
modified ir: l2.kt
|
||||
updated exports: l2pair.kt, l2string.kt, l2func.kt
|
||||
STEP 7:
|
||||
dependencies: lib1
|
||||
modifications:
|
||||
D : l2pair.kt
|
||||
D : l2string.kt
|
||||
D : l2func.kt
|
||||
STEP 8:
|
||||
dependencies: lib1
|
||||
updated imports: l2int.kt
|
||||
STEP 9..10:
|
||||
dependencies: lib1
|
||||
updated imports: l2int.kt, l2.kt
|
||||
Reference in New Issue
Block a user