Generate line numbers for function call parameters
Before this fix line numbers for function call arguments were not generated, so if argument was on another line than function call it was impossible to stop on argument line during debugging. Now line number for each argument is generated if necessary (another line than function call line). #KT-17144 Fixed
This commit is contained in:
@@ -14,4 +14,4 @@ fun foo() {
|
||||
|
||||
}
|
||||
|
||||
// 2 1 5 8 9 15
|
||||
// 2 1 5 8 9 +10 +11 10 9 15
|
||||
@@ -7,4 +7,4 @@ fun foo() {
|
||||
fun foo(i: Int) {
|
||||
}
|
||||
|
||||
// 2 5 8
|
||||
// 2 +3 2 5 8
|
||||
@@ -6,4 +6,4 @@ fun foo() {
|
||||
infix fun Int.foo(i: Int) {
|
||||
}
|
||||
|
||||
// 2 4 7
|
||||
// 2 3 2 4 7
|
||||
@@ -18,4 +18,4 @@ fun fail() : String {
|
||||
throw AssertionError("fail")
|
||||
}
|
||||
|
||||
// 2 22 2 5 23 5 7 10 14 18
|
||||
// 2 22 3 2 5 6 23 5 7 10 14 18
|
||||
@@ -16,4 +16,4 @@ fun fail() : String {
|
||||
throw AssertionError("fail")
|
||||
}
|
||||
|
||||
// 1 4 20 4 7 21 7 9 12 16
|
||||
// 1 4 20 5 4 7 8 21 7 9 12 16
|
||||
@@ -18,4 +18,4 @@ fun fail() : String {
|
||||
throw AssertionError("fail")
|
||||
}
|
||||
|
||||
// 2 22 2 23 5 24 5 25 7 10 14 18
|
||||
// 2 22 3 2 23 5 6 24 5 25 7 10 14 18
|
||||
Reference in New Issue
Block a user