[Common IR] Do not add internal methods to overrides
[JS IR] Use a module name in JsFunctionSignature for internal methods ^KT-60635 Fixed
This commit is contained in:
committed by
Space Team
parent
788fa5d545
commit
7a31167e0b
+4
@@ -0,0 +1,4 @@
|
||||
abstract class A {
|
||||
internal var prop: Int = 0
|
||||
internal fun func(): Int = 0
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
abstract class A {
|
||||
internal var prop: Int = 1
|
||||
internal fun func(): Int = 1
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
abstract class A {
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
abstract class A {
|
||||
internal var prop: Int = 3
|
||||
internal fun func(): Int = 3
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
fun testProp(a: A): Int {
|
||||
return a.prop
|
||||
}
|
||||
|
||||
fun testFunc(a: A): Int {
|
||||
return a.func()
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
fun testProp(a: A): Int {
|
||||
return 2
|
||||
}
|
||||
|
||||
fun testFunc(a: A): Int {
|
||||
return 2
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
fun testProp(a: A): Int {
|
||||
return a.prop
|
||||
}
|
||||
|
||||
fun testFunc(a: A): Int {
|
||||
return a.func()
|
||||
}
|
||||
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
STEP 0:
|
||||
modifications:
|
||||
U : A.0.kt -> A.kt
|
||||
U : l1.0.kt -> l1.kt
|
||||
added file: A.kt, l1.kt
|
||||
STEP 1:
|
||||
modifications:
|
||||
U : A.1.kt -> A.kt
|
||||
modified ir: A.kt
|
||||
STEP 2:
|
||||
modifications:
|
||||
U : A.2.kt -> A.kt
|
||||
U : l1.2.kt -> l1.kt
|
||||
modified ir: A.kt, l1.kt
|
||||
STEP 3:
|
||||
modifications:
|
||||
U : A.3.kt -> A.kt
|
||||
U : l1.3.kt -> l1.kt
|
||||
modified ir: A.kt, l1.kt
|
||||
Reference in New Issue
Block a user