summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-05-08 07:13:07 -0700
committerGitHub <noreply@github.com>2020-05-08 16:13:07 +0200
commit363b7ff3b80d2b50cda901d1f6e6b01e67747ed2 (patch)
tree2572e97ca0bb34fcd0d8eafd69cf6a825ddadd64
parent120ea906fbd0fc70b366a85c25713bd28673872c (diff)
downloadNim-363b7ff3b80d2b50cda901d1f6e6b01e67747ed2.tar.gz
fix https://github.com/nim-lang/Nim/issues/14275 querySetting(nimcacheDir) works even if implicitly set (#14277)
-rw-r--r--compiler/vmops.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/vmops.nim b/compiler/vmops.nim
index ef36419a7..54b2877e7 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