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
+3
-4
@@ -14,12 +14,11 @@ enum class C {
|
||||
|
||||
E4 {
|
||||
fun c() {
|
||||
//TODO: this is a bug
|
||||
this.<!UNRESOLVED_REFERENCE!>B<!>()
|
||||
this.B()
|
||||
|
||||
C.A()
|
||||
A()
|
||||
//TODO: this is a bug
|
||||
//TODO: should be resolved with error
|
||||
this.<!UNRESOLVED_REFERENCE!>A<!>()
|
||||
}
|
||||
};
|
||||
@@ -33,7 +32,7 @@ enum class C {
|
||||
|
||||
fun f() {
|
||||
C.E1.<!UNRESOLVED_REFERENCE!>A<!>
|
||||
C.E1.<!NESTED_CLASS_ACCESSED_VIA_INSTANCE_REFERENCE!>A<!>()
|
||||
C.E1.<!UNRESOLVED_REFERENCE!>A<!>()
|
||||
C.E2.B()
|
||||
|
||||
C.E2.<!UNRESOLVED_REFERENCE!>O<!>
|
||||
|
||||
Reference in New Issue
Block a user