Files
kotlin-fork/compiler/testData/diagnostics/tests/callableReference/function/classMemberVsConstructorLikeFunction.kt
T

18 lines
203 B
Kotlin
Vendored

// FIR_IDENTICAL
// FILE: Foo.kt
package test
class Foo {
fun bar() {}
}
// FILE: test.kt
import test.Foo
fun Foo(): String = ""
val f = Foo::bar
val g = Foo::<!UNRESOLVED_REFERENCE!>length<!>