Debugger: step into default property getter/setter

#KT-7287 Fixed
This commit is contained in:
Natalia Ukhorskaya
2015-05-13 14:32:05 +03:00
parent f742188df9
commit 5edc25d2ba
6 changed files with 68 additions and 0 deletions
@@ -0,0 +1,28 @@
package defaultAccessors
fun main(args: Array<String>) {
//Breakpoint!
A().testPublicPropertyInClass()
testPublicPropertyInLibrary()
}
class A: B() {
fun testPublicPropertyInClass() {
prop
prop = 2
}
}
open class B {
public var prop: Int = 1
}
fun testPublicPropertyInLibrary() {
val myClass = customLib.simpleLibFile.B()
myClass.prop
myClass.prop = 2
}
// STEP_INTO: 21
// SKIP_SYNTHETIC_METHODS: true
// SKIP_CONSTRUCTORS: true