Files
kotlin-fork/compiler/testData/diagnostics/tests/smartCasts/afterBinaryExpr.fir.kt
T

14 lines
167 B
Kotlin
Vendored

package o
class A {
<!INAPPLICABLE_INFIX_MODIFIER!>infix fun foo(b: B) = b<!>
}
class B {
fun bar() {}
}
fun test(a: A, b: B?) {
a foo b!!
b.bar()
}