[Issue 24018] array concatenation doesn't work with disabled default construction
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jun 27 09:25:31 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24018
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
@FeepingCreature created dlang/dmd pull request #15352 "CHANGE: Make
`array.length = n` `@system` if default construction is disabled on the array
type (fixes 24018)" fixing this issue:
- Fix issue 24018: make `array.length = n` `@system` if default construction is
disabled on the array type.
This is needed as there is otherwise no good way to resize an array of
non-constructable elements in user code at all.
https://github.com/dlang/dmd/pull/15352
--
More information about the Digitalmars-d-bugs
mailing list