Discussion Thread: DIP 1036--String Interpolation Tuple Literals--Community Review Round 2

Adam D. Ruppe destructionator at gmail.com
Wed Feb 3 21:23:56 UTC 2021


On Wednesday, 3 February 2021 at 21:13:44 UTC, Q. Schroll wrote:
> It makes for nice error messages, tho. I don't care much about 
> the exact string there, only that it is recognizable (which for 
> (++i).stringof it clearly isn't).

stringof for error messages is fine. What perplexes me is that 
mixin(x) will translate to mixin(x.stringof) automatically even 
though that's a mistake more often than not.


More information about the Digitalmars-d mailing list