[FIR] Support type aliases in double colon expression resolver
This commit is contained in:
@@ -11,5 +11,5 @@ inline fun <T, R> Iterable<T>.myMap(transform: (T) -> R): List<R> {
|
||||
}
|
||||
|
||||
fun usesGlobal(p: List<Global>) {
|
||||
p.<!INAPPLICABLE_CANDIDATE!>myMap<!>(Global::toUpperCase)
|
||||
p.myMap(Global::toUpperCase)
|
||||
}
|
||||
@@ -4,4 +4,4 @@ class C {
|
||||
|
||||
typealias CA = C
|
||||
|
||||
val cf = <!UNRESOLVED_REFERENCE!>CA::foo<!>
|
||||
val cf = CA::foo
|
||||
|
||||
+2
-2
@@ -50,7 +50,7 @@ fun foo(
|
||||
test.ClassAlias::Nested
|
||||
|
||||
test.ClassSample::func
|
||||
<!UNRESOLVED_REFERENCE!>test.ClassAlias::func<!>
|
||||
test.ClassAlias::func
|
||||
|
||||
test.ClassSample.Nested::func
|
||||
test.ClassAlias.Nested::func
|
||||
@@ -68,7 +68,7 @@ fun foo(
|
||||
test.EnumAlias::Nested
|
||||
|
||||
test.EnumSample::func
|
||||
<!UNRESOLVED_REFERENCE!>test.EnumAlias::func<!>
|
||||
test.EnumAlias::func
|
||||
|
||||
test.EnumSample.Nested::func
|
||||
test.EnumAlias.Nested::func
|
||||
|
||||
Reference in New Issue
Block a user