Files
kotlin-fork/compiler/testData/diagnostics/tests/callableReference/resolve/overloadsBound.txt
T
Alexander Udalov 3eeccb407e Simplify and fix createReflectionTypeForCallableDescriptor
Previously its call sites needed to determine if the receiver type should be
ignored (e.g. if the reference is to static member or nested class constructor,
or if it's a bound reference), and 3 of 4 callers did it incorrectly. Simplify
this by passing the DoubleColonLHS instance everywhere.

Also rename it to createKCallableTypeForReference

 #KT-12738 Fixed
 #KT-12751 Fixed
 #KT-12799 Fixed
2016-06-22 21:35:57 +03:00

14 lines
530 B
Plaintext
Vendored

package
public fun bar(/*0*/ c: C): kotlin.Unit
public fun foo(/*0*/ p: (kotlin.String) -> kotlin.Unit): kotlin.Unit
public final class C {
public constructor C()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
public final fun xf1(): kotlin.Unit
public final fun xf1(/*0*/ s: kotlin.String): kotlin.Unit
}