Files
kotlin-fork/compiler/testData/diagnostics/tests/scopes/protectedVisibility/smartcastOnExtensionReceiver.fir.kt
T

10 lines
148 B
Kotlin
Vendored

abstract class A<T : Any> {
abstract protected fun T.foo()
fun bar(x: T?) {
if (x != null) {
x.foo()
}
}
}