GC-safety error messages are useful now

This commit is contained in:
Araq 2015-04-04 00:22:42 +02:00
commit a83286192f
5 changed files with 81 additions and 10 deletions

View file

@ -728,6 +728,7 @@ type
typScope*: PScope
of routineKinds:
procInstCache*: seq[PInstantiation]
gcUnsafetyReason*: PSym # for better error messages wrt gcsafe
#scope*: PScope # the scope where the proc was defined
of skModule:
# modules keep track of the generic symbols they use from other modules.