Support inline properties in debugger class search

This commit is contained in:
Yan Zhulanow
2017-04-10 18:12:46 +03:00
committed by Yan Zhulanow
parent cb9e90183a
commit 9e61eea758
7 changed files with 154 additions and 40 deletions
@@ -0,0 +1,24 @@
package inlineProperties
fun main(args: Array<String>) {
class A {
inline val a: String
get() {
//Breakpoint!
return System.nanoTime().toString()
}
}
A().apply { a }
B().apply { b }
}
class B {
inline val b: String
get() {
//Breakpoint!
return System.nanoTime().toString()
}
}
// RESUME: 2
@@ -0,0 +1,24 @@
package inlinePropertyAccessors
fun main(args: Array<String>) {
class A {
val a: String
inline get() {
//Breakpoint!
return System.nanoTime().toString()
}
}
A().apply { a }
B().apply { b }
}
class B {
val b: String
inline get() {
//Breakpoint!
return System.nanoTime().toString()
}
}
// RESUME: 2