Skip to content

Commit

Permalink
[backport] always set fileInfoIdx.isKnownFile (#12773)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasper Jenkins authored and narimiran committed Nov 29, 2019
1 parent c5c6bae commit b6b8d54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/msgs.nim
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ proc fileInfoIdx*(conf: ConfigRef; filename: AbsoluteFile; isKnownFile: var bool
pseudoPath = true

if conf.m.filenameToIndexTbl.hasKey(canon.string):
isKnownFile = true
result = conf.m.filenameToIndexTbl[canon.string]
else:
isKnownFile = false
Expand Down

0 comments on commit b6b8d54

Please sign in to comment.