Merge remote-tracking branch 'origin/devel' into compiler-cleanup
This commit is contained in:
commit
4d558e2608
11 changed files with 45 additions and 21 deletions
|
|
@ -1944,7 +1944,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue