KJS: fix inheritance from renamed native classes
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
function A(foo) {
|
||||
this.foo = foo;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package foo
|
||||
|
||||
@native
|
||||
@JsName("A")
|
||||
open class B(val foo: String)
|
||||
|
||||
class C(s: String) : B(s)
|
||||
|
||||
fun box(): String {
|
||||
return C("OK").foo
|
||||
}
|
||||
Reference in New Issue
Block a user