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:
pyos
2020-03-25 14:45:37 +01:00
committed by max-kammerer
parent b4d7dfd02c
commit 9d21800d8f
25 changed files with 284 additions and 108 deletions
@@ -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