On Sunday, 13 March 2022 at 07:55:01 UTC, Chris Piker wrote:
Hey thanks! That does work with recent versions of dmd+phobos,
but doesn't work in gdc-10. For some reason it produces this
error:
```d
error: static assert "Cannot put a const(char)[] into a
char[]."
```
Is there a work around involving `.representation` as alluded
to in this
[thread](https://forum.dlang.org/post/[email protected]) ?
To get around the issue I built gdc-11.2 from source code at
the GNU site but the old version of phobos is still included,
so no dice.
Build the latest gdc snapshot:
https://mirrors.concertpass.com/gcc/snapshots/12-20220306/
~Brian