[FIR] Qualifier resolve
This commit is contained in:
+2
-2
@@ -10,6 +10,6 @@ class C {
|
||||
typealias CA = C
|
||||
|
||||
val test1 = CA
|
||||
val test2 = CA.Companion
|
||||
val test2 = CA.<!UNRESOLVED_REFERENCE!>Companion<!>
|
||||
val test3 = CA.x
|
||||
val test4 = CA.Companion.x
|
||||
val test4 = CA.<!UNRESOLVED_REFERENCE!>Companion<!>.<!UNRESOLVED_REFERENCE!>x<!>
|
||||
|
||||
+2
-2
@@ -34,8 +34,8 @@ val seeAlsoDerivedFoo: String = JDerived.foo()
|
||||
// Referencing nested classes via type alias should be prohibited
|
||||
// (in type position and in expression position)
|
||||
val testNested1: JT.Nested = JT.<!UNRESOLVED_REFERENCE!>Nested<!>()
|
||||
val testNested2: KT.Nested = KT.Nested()
|
||||
val testNested3: IT.Nested = IT.Nested()
|
||||
val testNested2: KT.Nested = KT.<!UNRESOLVED_REFERENCE!>Nested<!>()
|
||||
val testNested3: IT.Nested = IT.<!UNRESOLVED_REFERENCE!>Nested<!>()
|
||||
val testInner1: JT.Inner = JT.<!UNRESOLVED_REFERENCE!>Inner<!>()
|
||||
val testInner2: KT.Inner = KT.<!UNRESOLVED_REFERENCE!>Inner<!>()
|
||||
fun testNestedAsTypeArgument1(x: List<JT.Nested>) {}
|
||||
|
||||
+2
-2
@@ -53,7 +53,7 @@ fun foo(
|
||||
test.ClassAlias::func
|
||||
|
||||
test.ClassSample.Nested::func
|
||||
test.ClassAlias.Nested::func
|
||||
<!UNRESOLVED_REFERENCE!>test.ClassAlias.<!UNRESOLVED_REFERENCE!>Nested<!>::func<!>
|
||||
|
||||
test.ObjectSample::Nested
|
||||
test.ObjectAlias::Nested
|
||||
@@ -71,5 +71,5 @@ fun foo(
|
||||
test.EnumAlias::func
|
||||
|
||||
test.EnumSample.Nested::func
|
||||
test.EnumAlias.Nested::func
|
||||
<!UNRESOLVED_REFERENCE!>test.EnumAlias.<!UNRESOLVED_REFERENCE!>Nested<!>::func<!>
|
||||
}
|
||||
Reference in New Issue
Block a user