The raises list can now use expressions referencing the generic params

This commit is contained in:
Zahary Karadjov 2020-04-01 04:01:25 +03:00 • committed by Andreas Rumpf
commit 08afa03075
4 changed files with 16 additions and 5 deletions

View file

@ -521,6 +521,7 @@ proc myOpen(graph: ModuleGraph; module: PSym): PPassContext =
c.semGenerateInstance = generateInstance
c.semTypeNode = semTypeNode
c.instTypeBoundOp = sigmatch.instTypeBoundOp
c.hasUnresolvedArgs = hasUnresolvedArgs
pushProcCon(c, module)
pushOwner(c, c.module)