Mark lineNumbers for synthetic accessors

This commit is contained in:
Natalia Ukhorskaya
2014-11-11 15:59:04 +03:00
parent eb25e47a51
commit 0a97481184
6 changed files with 91 additions and 14 deletions
@@ -0,0 +1,30 @@
package accessors
fun main(args: Array<String>) {
A().test()
}
class A {
fun test() {
//Breakpoint!
foo()
prop
prop = 2
}
class object {
private fun foo() {
val a = 1
}
private var prop: Int = 2
get() {
return 1
}
set(i: Int) {
$prop = i
}
}
}
// STEP_INTO: 13