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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue