Files
kotlin-fork/compiler/testData/diagnostics/tests/smartCasts/intersectionScope/moreSpecificSetter.txt
T
Denis Zharkov 8df05c6c4c Refine 'isMoreSpecific' calculation
Choose member with better visibility, it's needed for proper calculation
of types intersection member scope

 #KT-10481 Fixed
2016-02-02 15:26:49 +03:00

20 lines
780 B
Plaintext
Vendored

package
public fun test(/*0*/ myA: A): kotlin.Unit
public open class A {
public constructor A()
public open var value: kotlin.Int
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 class MutableA : A {
public constructor MutableA()
public open override /*1*/ var value: kotlin.Int
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
}