[Issue 23959] [REG2.101.0] Copying arrays of types with postblits from varargs broken
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jun 5 00:49:34 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23959
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@teodutu created dlang/dmd pull request #15295 "Move lowerings to
`_d_array{setassign,assign_{l,r}}` to a `LoweredAssignExp` AST node" mentioning
this issue:
- Move lowerings to `_d_array{setassign,assign_{l,r}}` to a `LoweredAssignExp`
AST node
This PR does the following:
- uses a `LoweredAssignExp` node for assignmets that lower to
`_d_arrayassign_{l,r}`
- removes the code in `dinterpret.d` that recreates the original
`AssigExp`
- simplifies `isArrayConstructionOrAssign()` to just
`isArrayConstruction()` since assignments are now handled by a separate
AST node
- fixes issue 23959
Signed-off-by: Teodor Dutu <teodor.dutu at gmail.com>
https://github.com/dlang/dmd/pull/15295
--
More information about the Digitalmars-d-bugs
mailing list