[JS IR] Fix case with bridge with nested classes
^KT-54686 fixed
This commit is contained in:
committed by
Space Team
parent
2e48557a0d
commit
fd5fba6f09
@@ -0,0 +1,20 @@
|
||||
class Outer {
|
||||
class Inner {
|
||||
fun foo() = "K"
|
||||
}
|
||||
}
|
||||
|
||||
interface I<T> {
|
||||
fun foo(t: T, inner: Outer.Inner): String
|
||||
}
|
||||
|
||||
open class Child : I<String> {
|
||||
override fun foo(t: String, inner: Outer.Inner): String {
|
||||
return t + inner.foo()
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val child: I<String> = Child()
|
||||
return child.foo("O", Outer.Inner())
|
||||
}
|
||||
Reference in New Issue
Block a user