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