fixes #5430
This commit is contained in:
parent
d91d338d03
commit
2589d69ed2
12 changed files with 58 additions and 42 deletions
|
|
@ -84,7 +84,7 @@ proc hlo(c: PContext, n: PNode): PNode =
|
|||
if isEmptyType(n.typ) and isEmptyType(result.typ):
|
||||
discard
|
||||
else:
|
||||
result = fitNode(c, n.typ, result)
|
||||
result = fitNode(c, n.typ, result, n.info)
|
||||
# optimization has been applied so check again:
|
||||
result = commonOptimizations(c.module, result)
|
||||
result = hlo(c, result)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue