mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 12:07:51 +00:00
makes tests green again
This commit is contained in:
@@ -1982,7 +1982,8 @@ proc exprComplexConst(p: BProc, n: PNode, d: var TLoc) =
|
||||
putDataIntoDest(p, d, t, tmp)
|
||||
# This fixes bug #4551, but we really need better dataflow
|
||||
# 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) =
|
||||
case n.kind
|
||||
|
||||
Reference in New Issue
Block a user