Fixed ReplaceWith quickfix not working when synthetic extensions are used in the pattern
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// "Replace with 'absolutePath'" "true"
|
||||
import java.io.File
|
||||
|
||||
@deprecated("", ReplaceWith("absolutePath"))
|
||||
val File.prop: String
|
||||
get() = absolutePath
|
||||
|
||||
fun foo(file: File) {
|
||||
file.prop<caret>
|
||||
}
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
// "Replace with 'absolutePath'" "true"
|
||||
import java.io.File
|
||||
|
||||
@deprecated("", ReplaceWith("absolutePath"))
|
||||
val File.prop: String
|
||||
get() = absolutePath
|
||||
|
||||
fun foo(file: File) {
|
||||
file.absolutePath
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user