17 lines
488 B
Plaintext
Vendored
17 lines
488 B
Plaintext
Vendored
// FILE: first.before.kt
|
|
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
|
// ERROR: Missing 'getValue(Nothing?, KProperty<*>)' method on delegate of type 'String'
|
|
// ACTION: To raw string literal
|
|
|
|
package b
|
|
|
|
val x: String by "<caret>" // <--- should not propose to auto-import a.getValue,
|
|
// because that would not fix the error
|
|
|
|
// FILE: second.kt
|
|
package a
|
|
|
|
import kotlin.reflect.KProperty
|
|
|
|
fun String.getValue(x: Any?, y: KProperty<*>) = ""
|