Files
kotlin-fork/compiler/testData/diagnostics/tests/callableReference/emptyLhs.txt
T
Alexander Udalov 661f4efc68 Forbid callable references to members and extensions with empty LHS
This syntax is reserved to be likely used in the future as a shorthand for
"this::foo" where the resulting expression doesn't take the receiver as a
parameter but has "this" already bound to it
2015-10-03 04:37:04 +03:00

24 lines
953 B
Plaintext
Vendored

package
public val ok1: kotlin.reflect.KProperty0<kotlin.Int>
public val ok2: kotlin.reflect.KFunction0<kotlin.Int>
public val topLevelVal: kotlin.Int = 1
public val A.extensionVal: kotlin.Int
public fun topLevelFun(): kotlin.Int
public fun A.extensionFun(): kotlin.Int
public fun A.fail1(): kotlin.Unit
public fun A.fail2(): kotlin.Unit
public final class A {
public constructor A()
public final val memberVal: kotlin.Int = 5
public final val ok1: kotlin.reflect.KProperty0<kotlin.Int>
public final val ok2: kotlin.reflect.KFunction0<kotlin.Int>
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final fun fail1(): kotlin.Unit
public final fun fail2(): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public final fun memberFun(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}