blob: fcd6ac13310194cea794ed126ab1f9513e7454a1 [file] [log] [blame]
interface T {
fun foo(): Int
}
interface U: T
fun test(t: T): Int {
return if (t is U)
<selection>t.foo()</selection> + 1
else t.foo()
}