On Friday, 25 February 2022 at 19:06:25 UTC, Ali Çehreli wrote:
On 2/25/22 08:24, Paul Backus wrote:
> I've seen `.stringof` give inconsistent results. (E.g.,
> https://issues.dlang.org/show_bug.cgi?id=18269)
That must be a part of the reasons why Adam D Ruppe repeats
that .stringof should not be used for such programmatic
purposes e.g. if I remember correctly should not be used in
string mixins.
There's also the fact that the language spec makes no guarantees
about the result of .stringof, so it is free to change at any
time in ways that may break your code.