Files
2024-06-17 14:57:38 +02:00

8 lines
235 B
Plaintext

// PROBLEM: "Use of getter method instead of property access syntax"
// COMPILER_ARGUMENTS: -XXLanguage:+ReferencesToSyntheticJavaProperties
fun main() {
funFunction1(Foo::foo)
}
fun funFunction1(function: Function1<Foo, Int>) {}