mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-02 03:02:31 +00:00
[backport] always set fileInfoIdx.isKnownFile (#12773)
(cherry picked from commit b6b8d540e3)
This commit is contained in:
committed by
narimiran
parent
5129a1e88d
commit
a13f623f16
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user