[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 20 11:13:25 UTC 2023


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

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #15829 "merge stable" was merged into master:

- b9f8e7cf24273f2283a39f703b2367c9cb09a0dc by Teodor Dutu:
  Fix Issue 24159: Store lowering of `CatAssignExp` in a separate field
(#15791)

  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/15829

--


More information about the Digitalmars-d-bugs mailing list