[FE 1.0] Take into account import aliases during hidden member resolution

This commit is contained in:
Victor Petukhov
2021-11-17 13:11:43 +03:00
parent c2de8712f2
commit 42805db989
13 changed files with 57 additions and 2 deletions
@@ -0,0 +1,7 @@
// WITH_RUNTIME
import kotlin.collections.forEach as forEach1
fun foo() {
<!UNRESOLVED_REFERENCE!>z<!>.a.forEach1 { }
}
@@ -0,0 +1,7 @@
// WITH_RUNTIME
import kotlin.collections.forEach as forEach1
fun foo() {
<!UNRESOLVED_REFERENCE!>z<!>.<!DEBUG_INFO_MISSING_UNRESOLVED!>a<!>.<!OVERLOAD_RESOLUTION_AMBIGUITY!>forEach1<!> { }
}
@@ -0,0 +1,3 @@
package
public fun foo(): kotlin.Unit