Files
kotlin-fork/compiler/testData/diagnostics/tests/imports/ImportFromCurrentWithDifferentName.kt
Denis.Zharkov 60f09f6512 K2: Adjust renaming on import for current package with K1 rules
Namely, once a file in a package `foo` has import `foo.bar as baz`,
auto imported `bar` from the package name becomes inivisible in the file

^KT-54854 Fixed
2023-06-23 10:58:08 +00:00

10 lines
116 B
Kotlin
Vendored

// FIR_IDENTICAL
package a
import a.A as ER
interface A {
val a: <!UNRESOLVED_REFERENCE!>A<!>
val b: ER
}