Quick Fixes: Implement "Rename unresolved reference" fix

#KT-8795 Fixed
This commit is contained in:
Alexey Sedunov
2015-12-03 12:45:59 +03:00
parent d850d7bbad
commit e517cbcf78
96 changed files with 580 additions and 0 deletions
@@ -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(a<caret>)
baz(a)
bar(x())
baz(x(1))
}
}