Rename: Support retargeting/shadowing conflict checking for functions
#KT-22564 Fixed
This commit is contained in:
@@ -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()
|
||||
}
|
||||
Reference in New Issue
Block a user