Rename: Support retargeting/shadowing conflict checking for functions

#KT-22564 Fixed
This commit is contained in:
Alexey Sedunov
2018-02-07 16:23:36 +03:00
parent 5c6bba9f14
commit 695a2a4098
8 changed files with 51 additions and 6 deletions
+10
View File
@@ -0,0 +1,10 @@
class A {
fun foo() {}
fun goo() {
fun <caret>innerGoo() {
foo()
}
innerGoo()
}
}
@@ -0,0 +1,10 @@
class A {
fun foo() {}
fun goo() {
fun foo() {
this.foo()
}
foo()
}
}
@@ -0,0 +1,8 @@
package test
fun foo() {
fun <caret>innerGoo() {
foo()
}
innerGoo()
}
@@ -0,0 +1,8 @@
package test
fun foo() {
fun foo() {
test.foo()
}
innerGoo()
}