parent
55373e65b4
commit
5536f74992
3 changed files with 27 additions and 8 deletions
|
|
@ -1389,7 +1389,7 @@ proc typeSectionRightSidePass(c: PContext, n: PNode) =
|
|||
rawAddSon(s.typ, newTypeS(tyNone, c))
|
||||
s.ast = a
|
||||
inc c.inGenericContext
|
||||
var body = semTypeNode(c, a[2], nil)
|
||||
var body = semTypeNode(c, a[2], s.typ)
|
||||
dec c.inGenericContext
|
||||
if body != nil:
|
||||
body.sym = s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue