We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd0985d commit 88cf657Copy full SHA for 88cf657
compiler/cgen.nim
@@ -746,7 +746,7 @@ proc genProcAux(m: BModule, prc: PSym) =
746
else:
747
fillResult(resNode)
748
assignParam(p, res)
749
- resetLoc(p, res.loc)
+ if sfNoInit notin prc.flags: resetLoc(p, res.loc)
750
if skipTypes(res.typ, abstractInst).kind == tyArray:
751
#incl(res.loc.flags, lfIndirect)
752
res.loc.storage = OnUnknown
0 commit comments