From 87bcb4b4b114b33c8f9138c84111778340e0584e Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Fri, 8 May 2020 07:13:07 -0700 Subject: [PATCH] fix https://github.com/nim-lang/Nim/issues/14275 querySetting(nimcacheDir) works even if implicitly set (#14277) --- compiler/vmops.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/vmops.nim b/compiler/vmops.nim index ef36419a70f6e..54b2877e72af2 100644 --- a/compiler/vmops.nim +++ b/compiler/vmops.nim @@ -112,7 +112,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