This commit is contained in:
Andreas Rumpf 2020-09-16 17:26:13 +02:00 • committed by GitHub
commit ae4ede6b00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 144 additions and 4 deletions

View file

@ -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}