fixes #6960
This commit is contained in:
parent
2c1f1f21bf
commit
358709e9cb
3 changed files with 34 additions and 2 deletions
|
|
@ -726,6 +726,7 @@ proc genProcAux(m: BModule, prc: PSym) =
|
|||
else:
|
||||
fillResult(resNode)
|
||||
assignParam(p, res)
|
||||
resetLoc(p, res.loc)
|
||||
if skipTypes(res.typ, abstractInst).kind == tyArray:
|
||||
#incl(res.loc.flags, lfIndirect)
|
||||
res.loc.storage = OnUnknown
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue