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,4 +1,4 @@
|
||||
// !DIAGNOSTICS_NUMBER: 4
|
||||
// !DIAGNOSTICS_NUMBER: 3
|
||||
// !DIAGNOSTICS: NESTED_CLASS_ACCESSED_VIA_INSTANCE_REFERENCE
|
||||
|
||||
class A {
|
||||
@@ -9,8 +9,8 @@ class A {
|
||||
}
|
||||
|
||||
fun test(a: A) {
|
||||
a.Nested()
|
||||
a.NestedWithClassObject
|
||||
a.NestedEnum
|
||||
a.NestedObj
|
||||
}
|
||||
a.Nested() // TODO: report "nested class accessed via instance reference" here as well
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user