Debugger: fix evaluate expression for traits

This commit is contained in:
Natalia Ukhorskaya
2014-12-22 19:13:21 +03:00
parent 704f8d1446
commit 9283daccb6
4 changed files with 43 additions and 1 deletions
@@ -0,0 +1,23 @@
package extractThisInTrait
fun main(args: Array<String>) {
TImpl().foo()
}
trait T {
fun foo() {
//Breakpoint!
val a = 1
}
val prop: Int
get() = 1
}
class TImpl(): T
// EXPRESSION: prop
// RESULT: 1: I
// EXPRESSION: this.prop
// RESULT: 1: I