JS: allow to inherit external classes with overloaded functions in case we don't override them (see KT-13910).

This commit is contained in:
Alexey Andreev
2016-11-28 18:00:32 +03:00
parent ecb498717a
commit fff1af4ff6
7 changed files with 88 additions and 2 deletions
@@ -0,0 +1,9 @@
external open class A {
open fun f(x: Int): Unit
<!JS_NAME_CLASH!>open fun f(x: String): Unit<!>
}
class InheritClass : A() {
<!JS_NAME_CLASH!>override fun f(x: Int): Unit<!> { }
}