Files
kotlin-fork/analysis/analysis-api/testData/components/smartCastInfo/multiSmartcastAsReceiver_stable.kt
T

10 lines
145 B
Kotlin
Vendored

interface A
interface B
fun <T> T.foo() where T: A, T: B {}
fun test(a: Any) {
if (a is A && a is B) {
<expr>a</expr>.foo()
}
}