fix #9842 #9951: nim -r and parseopt.cmdLineRest are now correct

This commit is contained in:
Timothee Cour 2019-01-12 15:26:22 -08:00
commit 0a8762eb7b
3 changed files with 94 additions and 68 deletions

View file

@ -171,7 +171,7 @@ proc computeNotesVerbosity(): array[0..3, TNoteKinds] =
warnGcUnsafe, hintPath, hintDependency, hintCodeBegin, hintCodeEnd,
hintSource, hintGlobalVar, hintGCStats}
result[0] = result[1] - {hintSuccessX, hintSuccess, hintConf,
hintProcessing, hintPattern, hintExecuting, hintLinking}
hintProcessing, hintPattern, hintExecuting, hintLinking, hintCC}
const
NotesVerbosity* = computeNotesVerbosity()