compiler: make symbolfiles feature compile again
This commit is contained in:
parent
c6e10a442d
commit
76aab9baf1
3 changed files with 18 additions and 18 deletions
|
|
@ -66,7 +66,7 @@ proc compileModule*(graph: ModuleGraph; fileIdx: FileIndex; flags: TSymFlags): P
|
|||
if sfMainModule in result.flags:
|
||||
graph.config.mainPackageId = result.owner.id
|
||||
|
||||
result.id = getModuleId(graph, fileIdx, toFullPath(graph.config, fileIdx))
|
||||
result.id = getModuleId(graph, fileIdx, AbsoluteFile toFullPath(graph.config, fileIdx))
|
||||
discard processModule(graph, result,
|
||||
if sfMainModule in flags and graph.config.projectIsStdin: stdin.llStreamOpen else: nil)
|
||||
elif graph.isDirty(result):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue