minor: fix a typo leading to the wrong lines count with LT
This commit is contained in:
committed by
Space Team
parent
47f6cb663e
commit
61e39f2c31
@@ -32,7 +32,7 @@ fun FirSession.buildFirViaLightTree(
|
||||
it.readSourceFileWithMapping()
|
||||
}
|
||||
if (shouldCountLines) {
|
||||
linesCount += linesMapping.lastOffset
|
||||
linesCount += linesMapping.linesCount
|
||||
}
|
||||
builder.buildFirFile(code, file, linesMapping).also { firFile ->
|
||||
firProvider.recordFile(firFile)
|
||||
|
||||
Reference in New Issue
Block a user