diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-05-08 07:13:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-08 16:13:07 +0200 |
commit | 363b7ff3b80d2b50cda901d1f6e6b01e67747ed2 (patch) | |
tree | 2572e97ca0bb34fcd0d8eafd69cf6a825ddadd64 | |
parent | 120ea906fbd0fc70b366a85c25713bd28673872c (diff) | |
download | Nim-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.nim | 2 |
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 |