[Issue 24159] BetterC: appending to dynamic arrays no longer errors at compile time

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 13 11:06:10 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=24159

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #15791 "Fix Issue 21459: Store lowering of
`CatAssignExp` in a separate field" was merged into stable:

- 71518bee8b2779a9cd6064537470582dae4c29c1 by Teodor Dutu:
  Fix Issue 24159: Store lowering of `CatAssignExp` in a separate field

  This preserves the `CatAssignExp` in the AST until the glue layer where
  an error is printed in case this expression is used with `-betterC`.
  This is required to happen in the glue layer as the semantic analysis
  doesn't correctly distinguish when code needs to be generated.

  Signed-off-by: Teodor Dutu <teodor.dutu at gmail.com>

https://github.com/dlang/dmd/pull/15791

--


More information about the Digitalmars-d-bugs mailing list