IDEA: add a couple "navigate to inline function call site" tests
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
fun box() {
|
||||
foo()
|
||||
}
|
||||
|
||||
inline fun foo() {
|
||||
null!!
|
||||
}
|
||||
|
||||
// NAVIGATE_TO_CALL_SITE
|
||||
// FILE: inlineFunCallSite.kt
|
||||
// LINE: 2
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
fun box() {
|
||||
bar {
|
||||
foo()
|
||||
}
|
||||
}
|
||||
|
||||
inline fun foo() {
|
||||
null!!
|
||||
}
|
||||
|
||||
inline fun bar(x: () -> Unit) {
|
||||
x()
|
||||
}
|
||||
|
||||
// NAVIGATE_TO_CALL_SITE
|
||||
// FILE: inlineFunCallSiteInInlineLambda.kt
|
||||
// LINE: 3
|
||||
Reference in New Issue
Block a user