On Saturday, 12 December 2020 at 18:14:31 UTC, Paul Backus wrote:
IMO this is one of the stupider design decisions in D, but it's unlikely it will ever be fixed. The easiest workaround is to use string mixins instead, which work the way you'd expect them to.
If issue 19365 got fixed, it could be done with an alias instead. https://issues.dlang.org/show_bug.cgi?id=19365 Currently string mixins are indeed the best option though.