Debugger: add an option for computing delegated properties values in Variables View

This commit is contained in:
Natalia Ukhorskaya
2015-04-06 19:31:12 +03:00
parent 111f375fa6
commit 649654999f
10 changed files with 203 additions and 36 deletions
@@ -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