Update test data for tower resolution algorithm

- locals win
- unary calls to plus/minus are not supported in favor of unaryPlus/unaryMinus
- unqualified nested classes are temporarily reported as unresolved
- function without receiver win against extension function
- explicit import win against star import
This commit is contained in:
Alexander Udalov
2015-12-09 22:22:36 +03:00
committed by Stanislav Erokhin
parent 66a031f7a0
commit 239502368a
73 changed files with 163 additions and 173 deletions
@@ -26,11 +26,11 @@ fun a() {
consumeString(a plus b)
consumeInt(a minus b)
a <!OVERLOAD_RESOLUTION_AMBIGUITY!>*<!> b
a <!OVERLOAD_RESOLUTION_AMBIGUITY!>/<!> b
a * b
a <!OPERATOR_MODIFIER_REQUIRED!>/<!> b
a <!OVERLOAD_RESOLUTION_AMBIGUITY!>times<!> b
a <!OVERLOAD_RESOLUTION_AMBIGUITY!>div<!> b
a times b
a <!INFIX_MODIFIER_REQUIRED!>div<!> b
}
}
}
@@ -24,7 +24,7 @@ operator fun Example.inc() = Example2()
infix fun Example.plus(o: Example) = ""
fun a() {
fun test() {
var a = Example()
val b = Example()
@@ -1,9 +1,9 @@
package
public fun a(): kotlin.Unit
public fun consumeExample2(/*0*/ e: Example2): kotlin.Unit
public fun consumeInt(/*0*/ i: kotlin.Int): kotlin.Unit
public fun consumeString(/*0*/ s: kotlin.String): kotlin.Unit
public fun test(): kotlin.Unit
public operator fun Example.component1(): kotlin.String
public operator fun Example.component2(): kotlin.String
public operator fun Example.get(/*0*/ i: kotlin.Int): kotlin.String