[JS IR] Add exported method into exportNestedClass.kt
^KT-44616 fixed
This commit is contained in:
@@ -16,10 +16,14 @@ class B {
|
|||||||
override fun foo(k: String): String {
|
override fun foo(k: String): String {
|
||||||
return "O" + k
|
return "O" + k
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun bar(k: String): String {
|
||||||
|
return foo(k)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// FILE: test.js
|
// FILE: test.js
|
||||||
function box() {
|
function box() {
|
||||||
return new this["export-nested-class"].B.Foo().foo("K");
|
return new this["export-nested-class"].B.Foo().bar("K");
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user