Hints and warnings are only emitted for the main package that is compiled
This commit is contained in:
Andreas Rumpf 2016-05-28 17:12:44 +02:00
commit 0b84ee167b
4 changed files with 18 additions and 1 deletions

View file

@ -961,6 +961,9 @@ const
skMethod, skConverter}
var ggDebug* {.deprecated.}: bool ## convenience switch for trying out things
var
gMainPackageId*: int
gMainPackageNotes*: TNoteKinds
proc isCallExpr*(n: PNode): bool =
result = n.kind in nkCallKinds