JVM: parse KotlinDebug when regenerating anonymous objects
This commit is contained in:
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
inline fun foo(crossinline x: () -> Unit) = object {
|
||||
fun run() {
|
||||
barNonThrowing()
|
||||
x()
|
||||
}
|
||||
}.run()
|
||||
|
||||
inline fun barNonThrowing() {
|
||||
null
|
||||
}
|
||||
|
||||
inline fun bar() {
|
||||
null!!
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
fun box() {
|
||||
foo {
|
||||
bar()
|
||||
}
|
||||
}
|
||||
|
||||
// NAVIGATE_TO_CALL_SITE
|
||||
// FILE: inlineFunCallSiteInLambdaInlinedIntoObject.kt
|
||||
// LINE: 3
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
inline fun foo(crossinline x: () -> Unit) = object {
|
||||
fun run() {
|
||||
bar()
|
||||
x()
|
||||
}
|
||||
}.run()
|
||||
|
||||
inline fun barNonThrowing() {
|
||||
null
|
||||
}
|
||||
|
||||
inline fun bar() {
|
||||
null!!
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
fun box() {
|
||||
foo {
|
||||
barNonThrowing()
|
||||
}
|
||||
}
|
||||
|
||||
// NAVIGATE_TO_CALL_SITE
|
||||
// FILE: inlineFun.kt
|
||||
// LINE: 3
|
||||
Reference in New Issue
Block a user