https://issues.dlang.org/show_bug.cgi?id=24078
--- Comment #5 from Dlang Bot ---
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
https://issues.dlang.org/show_bug.cgi?id=24078
Dlang Bot changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=24078
Dlang Bot changed:
What|Removed |Added
Keywords||pull
--- Comment #3 from Dlang Bot ---
https://issues.dlang.org/show_bug.cgi?id=24078
--- Comment #2 from Basile-z ---
reduced w/o phobos
```
extern(C) int puts(const char*);
void main()
{
auto a = ["c\0"];
foreach (v; a ~ "a\0" ~ "b\0")
puts(v.ptr);
}
```
--
https://issues.dlang.org/show_bug.cgi?id=24078
Basile-z changed:
What|Removed |Added
Keywords|wrong-code |
--
https://issues.dlang.org/show_bug.cgi?id=24078
naydef changed:
What|Removed |Added
CC||nay...@abv.bg
--- Comment #1 from naydef ---