Files
kotlin-fork/compiler/testData/diagnostics/tests/cast/bare/UnrelatedIs.fir.kt
T
pyos 29f95c7df2 FIR: improve inference of implicit type arguments in casts
Type parameters do not necessarily match one-to-one, or preserve order.
2021-01-18 18:01:03 +03:00

4 lines
92 B
Kotlin
Vendored

interface Tr
interface G<T>
fun test(tr: Tr) = tr is <!WRONG_NUMBER_OF_TYPE_ARGUMENTS!>G<!>