makes tests green again
This commit is contained in:
parent
1a470d1818
commit
5d05ee21c2
1 changed files with 2 additions and 1 deletions
|
|
@ -1982,7 +1982,8 @@ proc exprComplexConst(p: BProc, n: PNode, d: var TLoc) =
|
||||||
putDataIntoDest(p, d, t, tmp)
|
putDataIntoDest(p, d, t, tmp)
|
||||||
# This fixes bug #4551, but we really need better dataflow
|
# This fixes bug #4551, but we really need better dataflow
|
||||||
# analysis to make this 100% safe.
|
# analysis to make this 100% safe.
|
||||||
d.s = OnStatic
|
if t.kind notin {tySequence, tyString}:
|
||||||
|
d.s = OnStatic
|
||||||
|
|
||||||
proc expr(p: BProc, n: PNode, d: var TLoc) =
|
proc expr(p: BProc, n: PNode, d: var TLoc) =
|
||||||
case n.kind
|
case n.kind
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue