JVM: fix SMAP range extension logic
If `mapLineNumber` was called in non-monotonic order, e.g. N then N+2 then N+1, the first two calls created a range that spans [N; N+2] but the third call did not reuse it.
This commit is contained in:
-1
@@ -53,7 +53,6 @@ Kotlin
|
||||
test/_1Kt
|
||||
*L
|
||||
1#1,39:1
|
||||
35#1,2:40
|
||||
*E
|
||||
|
||||
SMAP
|
||||
|
||||
@@ -55,7 +55,6 @@ Kotlin
|
||||
test/_1Kt
|
||||
*L
|
||||
1#1,39:1
|
||||
35#1,2:40
|
||||
*E
|
||||
|
||||
SMAP
|
||||
|
||||
@@ -91,7 +91,6 @@ Kotlin
|
||||
test/_1Kt
|
||||
*L
|
||||
1#1,75:1
|
||||
71#1,2:76
|
||||
*E
|
||||
|
||||
SMAP
|
||||
|
||||
-1
@@ -54,7 +54,6 @@ Kotlin
|
||||
test/_1Kt
|
||||
*L
|
||||
1#1,40:1
|
||||
36#1,2:41
|
||||
*E
|
||||
|
||||
SMAP
|
||||
|
||||
-1
@@ -56,7 +56,6 @@ Kotlin
|
||||
test/_1Kt
|
||||
*L
|
||||
1#1,40:1
|
||||
36#1,2:41
|
||||
*E
|
||||
|
||||
SMAP
|
||||
|
||||
@@ -54,7 +54,6 @@ Kotlin
|
||||
test/_1Kt
|
||||
*L
|
||||
1#1,38:1
|
||||
34#1,2:39
|
||||
*E
|
||||
|
||||
SMAP
|
||||
|
||||
@@ -29,7 +29,6 @@ Kotlin
|
||||
test/_1Kt
|
||||
*L
|
||||
1#1,13:1
|
||||
8#1:14
|
||||
*E
|
||||
|
||||
SMAP
|
||||
|
||||
@@ -27,7 +27,6 @@ Kotlin
|
||||
test/_1Kt
|
||||
*L
|
||||
1#1,11:1
|
||||
8#1:12
|
||||
*E
|
||||
|
||||
SMAP
|
||||
|
||||
@@ -52,7 +52,6 @@ Kotlin
|
||||
test/_1Kt
|
||||
*L
|
||||
1#1,38:1
|
||||
34#1,2:39
|
||||
*E
|
||||
|
||||
SMAP
|
||||
|
||||
Reference in New Issue
Block a user