From ae4ede6b009632bd0d809c61066b240e8ee7719a Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Wed, 16 Sep 2020 17:26:13 +0200 Subject: fixes #15325 (#15340) --- compiler/options.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compiler/options.nim') 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} -- cgit 1.4.1-2-gfad0