From efa4b9adaa6babb46b463e785ccc06e3494bd342 Mon Sep 17 00:00:00 2001 From: Ico Doornekamp Date: Wed, 23 Jan 2019 11:13:44 +0100 Subject: [PATCH] Fixes #10263; [backport] --- compiler/msgs.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/msgs.nim b/compiler/msgs.nim index 0dd5820b4a..698b810615 100644 --- a/compiler/msgs.nim +++ b/compiler/msgs.nim @@ -432,7 +432,7 @@ proc addSourceLine(conf: ConfigRef; fileIdx: FileIndex, line: string) = proc sourceLine*(conf: ConfigRef; i: TLineInfo): string = if i.fileIndex.int32 < 0: return "" - if not optPreserveOrigSource(conf) and conf.m.fileInfos[i.fileIndex.int32].lines.len == 0: + if conf.m.fileInfos[i.fileIndex.int32].lines.len == 0: try: for line in lines(toFullPath(conf, i)): addSourceLine conf, i.fileIndex, line.string