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
Vendored
+2
-2
@@ -10,6 +10,6 @@ class A {
|
||||
}
|
||||
|
||||
fun main() {
|
||||
A::<!MISSING_RECEIVER, EXTENSION_IN_CLASS_REFERENCE_NOT_ALLOWED!>extInt<!>
|
||||
A::<!MISSING_RECEIVER, EXTENSION_IN_CLASS_REFERENCE_NOT_ALLOWED!>extA<!>
|
||||
A::<!UNRESOLVED_REFERENCE!>extInt<!>
|
||||
A::<!UNRESOLVED_REFERENCE!>extA<!>
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -7,7 +7,7 @@ class A {
|
||||
}
|
||||
|
||||
fun A.main() {
|
||||
::<!NESTED_CLASS_SHOULD_BE_QUALIFIED!>Nested<!>
|
||||
::<!UNRESOLVED_REFERENCE!>Nested<!>
|
||||
val y = A::Nested
|
||||
|
||||
checkSubtype<KFunction0<A.Nested>>(y)
|
||||
|
||||
+1
-1
@@ -8,5 +8,5 @@ fun main() {
|
||||
|
||||
A::<!UNRESOLVED_REFERENCE!>bar<!>
|
||||
|
||||
<!UNRESOLVED_REFERENCE!>B<!>::<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>bar<!>
|
||||
<!UNRESOLVED_REFERENCE!>B<!>::<!OVERLOAD_RESOLUTION_AMBIGUITY!>bar<!>
|
||||
}
|
||||
Reference in New Issue
Block a user