Files
kotlin-fork/compiler/testData/diagnostics/tests/imports/ImportFunctionWithPackageName.kt
T
Andrey Zinovyev 972cd9e9e7 [FIR] Fix PACKAGE_CANNOT_BE_IMPORTED diagnostic
Don't report it when there is a function/property with the same name as
package
2021-06-09 09:02:49 +03:00

14 lines
118 B
Kotlin
Vendored

// FIR_IDENTICAL
//FILE:a.kt
package a.foo
//FILE:b.kt
package a
fun foo() = 2
//FILE:c.kt
package c
import a.foo