[Issue 23726] Array append in CTFE no longer works without _d_arrayappendT
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Feb 18 23:08:22 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23726
--- Comment #4 from zach-dmd at cs.stanford.edu ---
Fair enough. I've also noticed that if I include just the declaration (for
string, but could be templated) in object.d:
```
ref string _d_arrayappendT(return ref scope string x, scope string y) @trusted;
```
Then it is usable and works in CTFE, but nicely causes a link error if it is
used in runtime code (this is what I want).
--
More information about the Digitalmars-d-bugs
mailing list