[Issue 24159] BetterC: appending to dynamic arrays no longer errors at compile time
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 10 12:54:31 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24159
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@teodutu updated dlang/dmd pull request #15791 "Fix Issue 21459: Store lowering
of `CatAssignExp` in a separate field" fixing this issue:
- 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