fixes #7743
This commit is contained in:
parent
cd0985df06
commit
88cf6573e0
1 changed files with 1 additions and 1 deletions
|
|
@ -746,7 +746,7 @@ proc genProcAux(m: BModule, prc: PSym) =
|
|||
else:
|
||||
fillResult(resNode)
|
||||
assignParam(p, res)
|
||||
resetLoc(p, res.loc)
|
||||
if sfNoInit notin prc.flags: 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