[box-tests] Added a reproducer for #KT-61924

This commit is contained in:
Igor Chevdar
2023-09-13 20:10:38 +03:00
committed by Space Team
parent 1b1e1d5b3f
commit 1df93e1611
18 changed files with 116 additions and 0 deletions
@@ -0,0 +1,15 @@
interface I1
interface I2 {
override fun toString(): String
}
interface I3 : I1, I2
class I3Impl : I3 {
override fun toString() = "OK"
}
fun foo(i3: I3) = i3.toString()
fun box() = foo(I3Impl())