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

9 lines
254 B
Plaintext

// PROBLEM: "Use of getter method instead of property access syntax"
// COMPILER_ARGUMENTS: -XXLanguage:+ReferencesToSyntheticJavaProperties
fun main() {
val myFoo = Foo()
funFunction0(myFoo::foo)
}
fun funFunction0(function: Function0<Int>) {}