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

8 lines
183 B
Plaintext

// FIX: Use property access syntax
// COMPILER_ARGUMENTS: -XXLanguage:+ReferencesToSyntheticJavaProperties
fun main() {
doSth(Foo::foo)
}
fun doSth(foo: (Foo) -> Int): Any = foo