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:
@@ -33,14 +33,12 @@ _2Kt
|
||||
zzz/_1Kt
|
||||
*L
|
||||
1#1,11:1
|
||||
7#2:12
|
||||
9#2:13
|
||||
7#2,3:12
|
||||
*E
|
||||
*S KotlinDebug
|
||||
*F
|
||||
+ 1 2.kt
|
||||
_2Kt
|
||||
*L
|
||||
6#1:12
|
||||
6#1:13
|
||||
6#1,3:12
|
||||
*E
|
||||
Reference in New Issue
Block a user