Files
kotlin-fork/compiler/testData/diagnostics/tests/callableReference/bound/functionCallWithoutArguments.txt
T
Alexander Udalov 0ce6bd9999 Ignore resolution to function without arguments on LHS of '::'
In the expression "Runnable::run" we were resolving the left-hand side to the
SAM constructor of Runnable. Now we detect this situation, ignore the result of
such resolution, and continue resolving the LHS as a type
2016-06-07 12:42:19 +03:00

4 lines
66 B
Plaintext
Vendored

package
public fun test(): kotlin.reflect.KFunction0<kotlin.Int>