parent
1a2bda45ec
commit
bb8b1c3b57
2 changed files with 12 additions and 3 deletions
|
|
@ -1989,6 +1989,7 @@ proc expr(p: BProc, n: PNode, d: var TLoc) =
|
|||
if sfGlobal in sym.flags: genVarPrototype(p.module, sym)
|
||||
if sym.loc.r == nil or sym.loc.t == nil:
|
||||
#echo "FAILED FOR PRCO ", p.prc.name.s
|
||||
#echo renderTree(p.prc.ast, {renderIds})
|
||||
internalError n.info, "expr: var not init " & sym.name.s & "_" & $sym.id
|
||||
if sfThread in sym.flags:
|
||||
accessThreadLocalVar(p, sym)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue