fix https://github.com/nim-lang/Nim/issues/14275 querySetting(nimcacheDir) works even if implicitly set (#14277)

(cherry picked from commit 363b7ff3b8)
This commit is contained in:
Timothee Cour
2020-05-08 07:13:07 -07:00
committed by narimiran
parent 01f42a5933
commit 8e5e92f679

View File

@@ -110,7 +110,7 @@ when defined(nimHasInvariant):
of arguments: result = conf.arguments
of outFile: result = conf.outFile.string
of outDir: result = conf.outDir.string
of nimcacheDir: result = conf.nimcacheDir.string
of nimcacheDir: result = conf.getNimcacheDir().string
of projectName: result = conf.projectName
of projectPath: result = conf.projectPath.string
of projectFull: result = conf.projectFull.string