fixes #2159
Hints and warnings are only emitted for the main package that is compiled
This commit is contained in:
parent
b479c94721
commit
0b84ee167b
4 changed files with 18 additions and 1 deletions
|
|
@ -500,12 +500,14 @@ type
|
|||
ESuggestDone* = object of Exception
|
||||
|
||||
const
|
||||
ForeignPackageNotes*: TNoteKinds = {hintProcessing, warnUnknownMagic,
|
||||
hintQuitCalled}
|
||||
NotesVerbosity*: array[0..3, TNoteKinds] = [
|
||||
{low(TNoteKind)..high(TNoteKind)} - {warnShadowIdent, warnUninit,
|
||||
warnProveField, warnProveIndex,
|
||||
warnGcUnsafe,
|
||||
hintSuccessX, hintPath, hintConf,
|
||||
hintProcessing,
|
||||
hintProcessing, hintPattern,
|
||||
hintDependency,
|
||||
hintExecuting, hintLinking,
|
||||
hintCodeBegin, hintCodeEnd,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue