Skip to content

Commit

Permalink
Here
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuukk authored Sep 26, 2024
1 parent ce083b3 commit 7cdf35b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/src/dmd/e2ir.d
Original file line number Diff line number Diff line change
Expand Up @@ -4031,8 +4031,8 @@ elem* toElem(Expression e, ref IRState irs)
elem *e;
if (dim > 0)
{
if (ale.onstack || tb.ty == Tsarray ||
(irs.Cfile||irs.params.betterC) && tb.ty == Tpointer)
if (ale.onstack || tb.ty == Tsarray || irs.params.betterC ||
irs.Cfile && tb.ty == Tpointer)
{
Symbol *stmp = null;
e = ExpressionsToStaticArray(irs, ale.loc, ale.elements, &stmp, 0, ale.basis);
Expand Down

0 comments on commit 7cdf35b

Please sign in to comment.