deepCopy is instantiated when its corresponding type is instantiated

This commit is contained in:
Araq 2014-09-26 09:36:09 +02:00
commit 1088814e56
10 changed files with 87 additions and 15 deletions

View file

@ -371,6 +371,8 @@ proc myOpen(module: PSym): PPassContext =
c.semInferredLambda = semInferredLambda
c.semGenerateInstance = generateInstance
c.semTypeNode = semTypeNode
c.instDeepCopy = sigmatch.instDeepCopy
pushProcCon(c, module)
pushOwner(c.module)
c.importTable = openScope(c)