304112cd8a
Instead of relying on UNRESOLVED_REFERENCE directive for the whole file, just render the unresolved reference right in the .txt testdata This will allow to introduce multi-caret resolve testdata more naturally Required for KT-65152 and KT-62695
16 lines
216 B
Kotlin
Vendored
16 lines
216 B
Kotlin
Vendored
// FE1.0 can resolve to `kotlin` package when it's not allowed
|
|
// IGNORE_FE10
|
|
// COMPILATION_ERRORS
|
|
// FILE: a.kt
|
|
package kotlin.pckg
|
|
|
|
fun foo() {
|
|
b<caret>ar()
|
|
}
|
|
|
|
// FILE: b.kt
|
|
package kotlin.pckg
|
|
|
|
fun bar() {
|
|
}
|