Files
kotlin-fork/compiler/testData/diagnostics/tests/imports/renamedImportInDifferentFile.fir.kt
T
2023-07-01 16:27:23 +00:00

22 lines
443 B
Kotlin
Vendored

// ISSUE: KT-59789
// FILE: a/A.java
package a;
public interface A {}
// FILE: first.kt
package b
import b.DependencyAnalyzerDependency as Dependency
fun foo(d: Dependency) {}
// FILE: main.kt
package b
import a.A
interface DependencyAnalyzerDependency : A {
val parent: <!UNRESOLVED_REFERENCE!>DependencyAnalyzerDependency<!>? // Should be resolved
}
fun bar(d: <!UNRESOLVED_REFERENCE!>DependencyAnalyzerDependency<!>) {
foo(d)
}