73dc5fefcb
KT-13009 Kotlin: annotation auto-import is broken in multiple ways #KT-12077 Fixed #KT-13009 Fixed
25 lines
487 B
Plaintext
Vendored
25 lines
487 B
Plaintext
Vendored
// FILE: first.before.kt
|
|
// "Import" "true"
|
|
// ERROR: Unresolved reference: SomeAnnotation
|
|
|
|
package some
|
|
|
|
class X(@set:SomeAnnotation<caret> var field: Int)
|
|
//-----------------------
|
|
// FILE: second.kt
|
|
|
|
package other
|
|
|
|
annotation class SomeAnnotation
|
|
//-----------------------
|
|
// FILE: first.after.kt
|
|
// "Import" "true"
|
|
// ERROR: Unresolved reference: SomeAnnotation
|
|
|
|
package some
|
|
|
|
import other.SomeAnnotation
|
|
|
|
class X(@set:SomeAnnotation<caret> var field: Int)
|
|
//-----------------------
|