Quick Fixes: Implement "Rename unresolved reference" fix
#KT-8795 Fixed
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
// "Rename reference" "true"
|
||||
// ERROR: Unresolved reference: x
|
||||
// ERROR: Unresolved reference: x
|
||||
package x
|
||||
|
||||
class A {
|
||||
val a = 1
|
||||
val s = ""
|
||||
|
||||
fun bar(i: Int) {
|
||||
|
||||
}
|
||||
|
||||
fun baz(i: Int) {
|
||||
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
bar(<caret>x)
|
||||
baz(x)
|
||||
bar(x())
|
||||
baz(x(1))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user