use ceilingEntry instead of higherEntry for line mappings
we want to include & prioritize exact matches
This commit is contained in:
parent
de151674ee
commit
28786b0947
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ private class LineMappingVisitor(
|
|||
override fun visitLineNumber(line: Int, start: Label?) {
|
||||
var mapped = lineMapping[line]
|
||||
if (mapped == null) {
|
||||
val entry = lineMapping.higherEntry(line)
|
||||
val entry = lineMapping.ceilingEntry(line)
|
||||
if (entry != null) {
|
||||
mapped = entry.value
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue