Fix minor bug in compiler backend message reporting
This commit is contained in:
committed by
SvyatoslavScherbina
parent
8955d247b1
commit
137805e52c
+2
-2
@@ -63,8 +63,8 @@ abstract internal class KonanBackendContext(val config: KonanConfig) : CommonBac
|
||||
val sourceRangeInfo = containingFile.fileEntry.getSourceRangeInfo(this.startOffset, this.endOffset)
|
||||
return CompilerMessageLocation.create(
|
||||
path = sourceRangeInfo.filePath,
|
||||
line = sourceRangeInfo.startLineNumber,
|
||||
column = sourceRangeInfo.startColumnNumber,
|
||||
line = sourceRangeInfo.startLineNumber + 1,
|
||||
column = sourceRangeInfo.startColumnNumber + 1,
|
||||
lineContent = null // TODO: retrieve the line content.
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user