Better search for inlined strings in strata: there might me several file mappings to the same file (KT-12896)
#KT-12896 In Progress
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
package dexInlineInObjectSameFile
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
//Breakpoint!
|
||||
OtherWithInline.one()
|
||||
}
|
||||
|
||||
object OtherWithInline {
|
||||
inline fun one() {
|
||||
//Breakpoint!
|
||||
println()
|
||||
}
|
||||
}
|
||||
|
||||
// RESUME: 1
|
||||
@@ -0,0 +1,15 @@
|
||||
package inlineInObject
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
//Breakpoint!
|
||||
OtherWithInline.one()
|
||||
}
|
||||
|
||||
object OtherWithInline {
|
||||
inline fun one() {
|
||||
//Breakpoint!
|
||||
println()
|
||||
}
|
||||
}
|
||||
|
||||
// RESUME: 1
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package dexInlineInClass.other
|
||||
|
||||
class TestDexInlineInClass {
|
||||
inline fun inlineFun() {
|
||||
// Breakpoint 1
|
||||
some()
|
||||
some()
|
||||
}
|
||||
|
||||
fun some() {}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package dexInlineInClass
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
dexInlineInClass.other.TestDexInlineInClass().inlineFun()
|
||||
}
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: dexInlineInClass.Other.kt: Breakpoint 1
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package dexInlineInObject.other
|
||||
|
||||
object TestDexInlineInObject {
|
||||
inline fun inlineFun() {
|
||||
// Breakpoint 1
|
||||
some()
|
||||
some()
|
||||
}
|
||||
|
||||
fun some() {}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package dexInlineInObject
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
dexInlineInObject.other.TestDexInlineInObject.inlineFun()
|
||||
}
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: dexInlineInObject.Other.kt: Breakpoint 1
|
||||
Reference in New Issue
Block a user