[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
+6
@@ -0,0 +1,6 @@
|
||||
class B: A() {
|
||||
val prop: Int
|
||||
get() = 10000
|
||||
|
||||
fun func(): Int = 20000
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
fun box(stepId: Int): String {
|
||||
val prop = testProp(B())
|
||||
if (prop != stepId) {
|
||||
return "Fail prop: $prop != $stepId"
|
||||
}
|
||||
|
||||
val func = testFunc(B())
|
||||
if (func != stepId) {
|
||||
return "Fail func: $func != $stepId"
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
STEP 0:
|
||||
dependencies: lib1
|
||||
modifications:
|
||||
U : B.0.kt -> B.kt
|
||||
U : m.0.kt -> m.kt
|
||||
added file: m.kt, B.kt
|
||||
STEP 1..3:
|
||||
dependencies: lib1
|
||||
Reference in New Issue
Block a user