summary refs log tree commit diff stats
path: root/compiler/options.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2020-04-04 22:56:03 +0200
committerAndreas Rumpf <rumpf_a@web.de>2020-04-04 22:56:03 +0200
commit9c46927fad6535cf7e172f5af5e93d179cec1020 (patch)
treed632824147076612023979685bebe611697c101c /compiler/options.nim
parented44e524b055b985b0941227a61f84dd8fdfcb37 (diff)
downloadNim-9c46927fad6535cf7e172f5af5e93d179cec1020.tar.gz
new feature: ability to turn specific warnings to errors
Diffstat (limited to 'compiler/options.nim')
-rw-r--r--compiler/options.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/options.nim b/compiler/options.nim
index 013c12b50..038e83eb0 100644
--- a/compiler/options.nim
+++ b/compiler/options.nim
@@ -237,6 +237,7 @@ type
     cmdlineNotes*: TNoteKinds # notes that have been set/unset from cmdline
     foreignPackageNotes*: TNoteKinds
     notes*: TNoteKinds # notes after resolving all logic(defaults, verbosity)/cmdline/configs
+    warningAsErrors*: TNoteKinds
     mainPackageNotes*: TNoteKinds
     mainPackageId*: int
     errorCounter*: int