fixes #4485; package handling works better; docgen works with --project on Nimble package level

This commit is contained in:
Andreas Rumpf 2016-07-19 14:13:16 +02:00
commit 9eb909baf9
6 changed files with 104 additions and 66 deletions

View file

@ -771,7 +771,7 @@ type
procInstCache*: seq[PInstantiation]
gcUnsafetyReason*: PSym # for better error messages wrt gcsafe
#scope*: PScope # the scope where the proc was defined
of skModule:
of skModule, skPackage:
# modules keep track of the generic symbols they use from other modules.
# this is because in incremental compilation, when a module is about to
# be replaced with a newer version, we must decrement the usage count