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

Paul Backus snarwin at gmail.com
Mon Feb 1 18:15:28 UTC 2021

On Monday, 1 February 2021 at 17:52:35 UTC, Adam D. Ruppe wrote:
> On Monday, 1 February 2021 at 17:06:36 UTC, Paul Backus wrote:
>> No, you've added an extra level of quoting by mistake.
> oh yeah, that's right.
> So we could prolly just define the stringof of interp to be 
> slightly less crazy (the source version either being the proper 
> fqn or the literal itself) and then there's no special case in 
> mixin.

Well, you can't define .stringof in user code--at least, not in a 
way the compiler will recognize--so you'd have to make the interp 
literals into a new builtin type rather than a library template.

More information about the Digitalmars-d mailing list