disable sink inference, only enable it for the stdlib. Reason: better source code compatibility (#15105)

This commit is contained in:
Andreas Rumpf 2020-07-28 19:18:46 +02:00 • committed by GitHub
commit 86c9b78339
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 5 deletions

View file

@ -373,7 +373,7 @@ const
DefaultOptions* = {optObjCheck, optFieldCheck, optRangeCheck,
optBoundsCheck, optOverflowCheck, optAssert, optWarns, optRefCheck,
optHints, optStackTrace, optLineTrace, # consider adding `optStackTraceMsgs`
optTrMacros, optStyleCheck, optSinkInference}
optTrMacros, optStyleCheck}
DefaultGlobalOptions* = {optThreadAnalysis,
optExcessiveStackTrace, optListFullPaths}