[Issue 24078] [REG] crash related to concatenation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Sep 16 07:31:12 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24078
--- Comment #5 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #15609 "merge stable" was merged into master:
- b349b6d0de9d375bda2db418fb16fabe7fc2f031 by Teodor Dutu:
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/15609
--
More information about the Digitalmars-d-bugs
mailing list