summary refs log tree commit diff stats
path: root/compiler/options.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-05-31 01:27:03 +0200
committerAraq <rumpf_a@web.de>2013-05-31 01:27:03 +0200
commit8c211113f26260896614b7385b94ed91a5b9f291 (patch)
tree184835f828a10ec0b177599f55da4e3d39e42ac8 /compiler/options.nim
parenta8ba628bcd2535bc55e3bf67737e93ae99906a63 (diff)
downloadNim-8c211113f26260896614b7385b94ed91a5b9f291.tar.gz
better error message for subtle nil errors
Diffstat (limited to 'compiler/options.nim')
-rw-r--r--compiler/options.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/options.nim b/compiler/options.nim
index f67ded163..6d93048fe 100644
--- a/compiler/options.nim
+++ b/compiler/options.nim
@@ -92,7 +92,7 @@ var
   gOptions*: TOptions = {optObjCheck, optFieldCheck, optRangeCheck, 
                          optBoundsCheck, optOverflowCheck, optAssert, optWarns, 
                          optHints, optStackTrace, optLineTrace,
-                         optPatterns}
+                         optPatterns, optNilCheck}
   gGlobalOptions*: TGlobalOptions = {optThreadAnalysis}
   gExitcode*: int8
   gCmd*: TCommands = cmdNone  # the command