fixes #1915
This commit is contained in:
parent
c87f1eb581
commit
b9079b8713
8 changed files with 46 additions and 9 deletions
|
|
@ -1977,7 +1977,9 @@ proc expr(p: BProc, n: PNode, d: var TLoc) =
|
|||
of skParam:
|
||||
if sym.loc.r == nil or sym.loc.t == nil:
|
||||
#echo "FAILED FOR PRCO ", p.prc.name.s
|
||||
internalError(n.info, "expr: param not init " & sym.name.s & "_" & $sym.id)
|
||||
#debug p.prc.typ.n
|
||||
#echo renderTree(p.prc.ast, {renderIds})
|
||||
internalError(n.info, "expr: param not init " & sym.name.s & "_" & $sym.id)
|
||||
putLocIntoDest(p, d, sym.loc)
|
||||
else: internalError(n.info, "expr(" & $sym.kind & "); unknown symbol")
|
||||
of nkNilLit:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue