parent
52cf728001
commit
fc9cf2088d
4 changed files with 49 additions and 4 deletions
|
|
@ -524,6 +524,7 @@ proc transformConv(c: PTransf, n: PNode): PNode =
|
|||
result[0] = transform(c, n[1])
|
||||
else:
|
||||
result = transform(c, n[1])
|
||||
result.typ = n.typ
|
||||
else:
|
||||
result = transformSons(c, n)
|
||||
of tyObject:
|
||||
|
|
@ -536,6 +537,7 @@ proc transformConv(c: PTransf, n: PNode): PNode =
|
|||
result[0] = transform(c, n[1])
|
||||
else:
|
||||
result = transform(c, n[1])
|
||||
result.typ = n.typ
|
||||
of tyGenericParam, tyOrdinal:
|
||||
result = transform(c, n[1])
|
||||
# happens sometimes for generated assignments, etc.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue