From 8e5e92f679daf067920756f9736ce1f468f03cbb 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) (cherry picked from commit 363b7ff3b80d2b50cda901d1f6e6b01e67747ed2) --- compiler/vmops.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/vmops.nim b/compiler/vmops.nim index 0ee137178a835..d4818ce6bd543 100644 --- a/compiler/vmops.nim +++ b/compiler/vmops.nim @@ -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