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:
committed by
Stanislav Erokhin
parent
66a031f7a0
commit
239502368a
+1
-1
@@ -15,5 +15,5 @@ import a.X
|
||||
import b.*
|
||||
|
||||
fun foo() {
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY!>X<!> = 1
|
||||
X = 1
|
||||
}
|
||||
|
||||
Vendored
+2
-2
@@ -5,8 +5,8 @@ package test
|
||||
import testing.other.*
|
||||
import testing.TestFun
|
||||
|
||||
// Resolve should be ambiguous
|
||||
val a = <!OVERLOAD_RESOLUTION_AMBIGUITY!>TestFun<!>()
|
||||
// Resolve shouldn't be ambiguous
|
||||
val a = TestFun()
|
||||
|
||||
|
||||
//FILE:testing.kt
|
||||
|
||||
Vendored
+1
-1
@@ -1,7 +1,7 @@
|
||||
package
|
||||
|
||||
package test {
|
||||
public val a: [ERROR : Type for TestFun()]
|
||||
public val a: testing.TestFun
|
||||
}
|
||||
|
||||
package testing {
|
||||
|
||||
Reference in New Issue
Block a user