Debugger: add an option for computing delegated properties values in Variables View
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
package delegatedPropertyInClassWoRenderer
|
||||
|
||||
import kotlin.properties.Delegates
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val a = A()
|
||||
//Breakpoint!
|
||||
args.size()
|
||||
}
|
||||
|
||||
class A {
|
||||
val prop by MyDelegate()
|
||||
}
|
||||
|
||||
class MyDelegate {
|
||||
fun get(t: Any?, p: PropertyMetadata): Int = 1
|
||||
}
|
||||
|
||||
// RENDER_DELEGATED_PROPERTIES: false
|
||||
// PRINT_FRAME
|
||||
Reference in New Issue
Block a user