Files
kotlin/compiler/testData/diagnostics/tests/callableReference/function/lhsNotAClass.fir.kt

10 lines
217 B
Kotlin
Vendored

class A<T, U : Any> {
fun foo() = <!OTHER_ERROR!>T<!>::toString
fun bar() = <!OTHER_ERROR!>U<!>::toString
}
fun <T> foo() = <!OTHER_ERROR!>T<!>::toString
fun <U : Any> bar() = <!OTHER_ERROR!>U<!>::toString