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
17 lines
290 B
Kotlin
Vendored
17 lines
290 B
Kotlin
Vendored
// WITH_RESOLVE_EXTENSION
|
|
// RESOLVE_EXTENSION_PACKAGE: generated
|
|
// RESOLVE_EXTENSION_SHADOWED: \.hidden\.[a-z]+$
|
|
|
|
// FILE: TestClass.hidden.java
|
|
package foo;
|
|
|
|
public class TestClass {
|
|
public TestClass() {}
|
|
}
|
|
|
|
// FILE: main.kt
|
|
package foo
|
|
|
|
fun main() {
|
|
val x = <caret>TestClass()
|
|
} |