// PROBLEM: "Use of getter method instead of property access syntax" // COMPILER_ARGUMENTS: -XXLanguage:+ReferencesToSyntheticJavaProperties import java.util.function.Function fun main() { funFunction(Foo::foo) } fun funFunction(function: Function) {}