diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2020-09-16 17:26:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-16 17:26:13 +0200 |
commit | ae4ede6b009632bd0d809c61066b240e8ee7719a (patch) | |
tree | 0850c2b3735a098a111c6f0513786a039deda3c2 /compiler/options.nim | |
parent | de7f2372be770ca97f3f63dcc9447bdd2827f9d0 (diff) | |
download | Nim-ae4ede6b009632bd0d809c61066b240e8ee7719a.tar.gz |
fixes #15325 (#15340)
Diffstat (limited to 'compiler/options.nim')
-rw-r--r-- | compiler/options.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/options.nim b/compiler/options.nim index 03418d953..226f13c73 100644 --- a/compiler/options.nim +++ b/compiler/options.nim @@ -41,6 +41,7 @@ type # please make sure we have under 32 options optMemTracker, optNilSeqs, optSinkInference # 'sink T' inference + optCursorInference TOptions* = set[TOption] @@ -372,7 +373,7 @@ const DefaultOptions* = {optObjCheck, optFieldCheck, optRangeCheck, optBoundsCheck, optOverflowCheck, optAssert, optWarns, optRefCheck, optHints, optStackTrace, optLineTrace, # consider adding `optStackTraceMsgs` - optTrMacros, optStyleCheck} + optTrMacros, optStyleCheck, optCursorInference} DefaultGlobalOptions* = {optThreadAnalysis, optExcessiveStackTrace, optListFullPaths} |