Write lineNumbers for constructors

This commit is contained in:
Natalia Ukhorskaya
2015-11-27 12:43:45 +03:00
parent 3ec383dfca
commit d0355a793b
24 changed files with 266 additions and 30 deletions
@@ -34,4 +34,38 @@ fun main(args: Array<String>) {
Derived2(1, 1)
Derived1(1)
}
A()
B()
C(1)
D()
E(1)
}
// EXPRESSION: 1 + 1
// RESULT: 2: I
//Breakpoint!
class A
// EXPRESSION: 1 + 2
// RESULT: 3: I
//Breakpoint!
class B()
// EXPRESSION: a
// RESULT: 0: I
//Breakpoint!
class C(val a: Int)
class D {
// EXPRESSION: 1 + 3
// RESULT: 4: I
//Breakpoint!
constructor()
}
class E {
// EXPRESSION: i
// RESULT: 1: I
//Breakpoint!
constructor(i: Int)
}