Call Hierarchy: Refactoring
Do not rely on light methods to search usages as some elements don't have them (e.g. local functions) #KT-9288 Fixed #KT-14428 Fixed
This commit is contained in:
idea/testData/hierarchy/calls/callers/callInsideAnonymousFun/CallInsideAnonymousFun_verification.xml
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
<node text="foo() ()" base="true">
|
||||
<node text="bar() ()">
|
||||
<node text="baz() ()"/>
|
||||
</node>
|
||||
</node>
|
||||
@@ -0,0 +1,11 @@
|
||||
fun <caret>foo() = 1
|
||||
|
||||
fun bar() {
|
||||
val x = fun () {
|
||||
val y = foo()
|
||||
}
|
||||
}
|
||||
|
||||
fun baz() {
|
||||
bar()
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<node text="foo() ()" base="true">
|
||||
<node text="bar() ()">
|
||||
<node text="baz() ()"/>
|
||||
</node>
|
||||
</node>
|
||||
@@ -0,0 +1,11 @@
|
||||
fun <caret>foo() = 1
|
||||
|
||||
fun bar() {
|
||||
val x = {
|
||||
val y = foo()
|
||||
}
|
||||
}
|
||||
|
||||
fun baz() {
|
||||
bar()
|
||||
}
|
||||
Reference in New Issue
Block a user