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
13 lines
236 B
Kotlin
Vendored
13 lines
236 B
Kotlin
Vendored
// WITH_RESOLVE_EXTENSION
|
|
// RESOLVE_EXTENSION_PACKAGE: generated
|
|
// RESOLVE_EXTENSION_SHADOWED: \.hidden\.kt$
|
|
|
|
// FILE: declarations.hidden.kt
|
|
package foo
|
|
|
|
fun bar() = "baz"
|
|
|
|
// FILE: main.kt
|
|
fun main() {
|
|
val x = foo.<caret>bar()
|
|
} |