[Issue 24078] [REG] crash related to concatenation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Aug 19 01:16:58 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24078
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
@teodutu created dlang/dmd pull request #15543 "Fix Issue 24078 - Fold
constants on array concatenation only for strings" fixing this issue:
- Fix Issue 24078 - Fold constants on array concatenation only for strings
Without this limitation, the code could incorrectly concatenate
`["c"] ~ "a" ~ "b"` as `["c"] ~ "ab"`, which was incorrect.
Signed-off-by: Teodor Dutu <teodor.dutu at gmail.com>
https://github.com/dlang/dmd/pull/15543
--
More information about the Digitalmars-d-bugs
mailing list