fixes #797; generic procs can be used in places expecting matching concrete proc types

This commit is contained in:
Zahary Karadjov 2014-02-11 01:14:57 +02:00
commit a158053ae9
5 changed files with 80 additions and 29 deletions

View file

@ -332,6 +332,7 @@ proc myOpen(module: PSym): PPassContext =
c.semOperand = semOperand
c.semConstBoolExpr = semConstBoolExpr
c.semOverloadedCall = semOverloadedCall
c.semGenerateInstance = generateInstance
c.semTypeNode = semTypeNode
pushProcCon(c, module)
pushOwner(c.module)