Skip to content

Commit

Permalink
Fixes #541
Browse files Browse the repository at this point in the history
  • Loading branch information
raamcosta committed Jan 1, 2024
1 parent 26db83d commit 46099dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ class KspToCodeGenDestinationsMapper(
private fun getErrorLines(location: Location): String {
val fileLocation = location as? FileLocation ?: return "NonExistentLocation"
return File(fileLocation.filePath)
.readLines(fileLocation.lineNumber, fileLocation.lineNumber + 1)
.readLines(fileLocation.lineNumber, fileLocation.lineNumber + 10)
.joinToString("")
}

Expand Down

0 comments on commit 46099dc

Please sign in to comment.