Files
kotlin-fork/compiler/testData/diagnostics/tests/callableReference/resolve/ambiguousWithVararg.txt
T
Dmitry Petrov 9ccb1fd506 KT-9601, KT-10103:
Chose maximally specific function in callable reference
 #KT-9601 Fixed
 #KT-10103 Fixed
2015-11-26 12:52:12 +03:00

12 lines
568 B
Plaintext
Vendored

package
public val ref1: [ERROR : Type for ::fun1]
public val ref2: [ERROR : Type for ::fun2]
public val ref3: [ERROR : Type for ::fun3]
public fun fun1(): kotlin.Unit
public fun fun1(/*0*/ x: kotlin.Int): kotlin.Unit
public fun fun2(/*0*/ x: kotlin.Int): kotlin.Unit
public fun fun2(/*0*/ vararg x: kotlin.Int /*kotlin.IntArray*/): kotlin.Unit
public fun fun3(/*0*/ x0: kotlin.Int, /*1*/ vararg xs: kotlin.Int /*kotlin.IntArray*/): kotlin.Unit
public fun fun3(/*0*/ x0: kotlin.String, /*1*/ vararg xs: kotlin.String /*kotlin.Array<out kotlin.String>*/): kotlin.Unit