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

Steven Schveighoffer schveiguy at gmail.com
Mon Feb 1 16:16:11 UTC 2021

On 2/1/21 11:00 AM, Dukc wrote:
> On Sunday, 31 January 2021 at 15:54:12 UTC, Steven Schveighoffer wrote:
>> I think we're going to end up with something like this. The more I 
>> think about it, the more I feel that having a primary type be the 
>> tuple is required.
>> [snip]
> Good. Remember though - you still have to do something to the 
> `mixin(i"...")` case Backus warned about. My suggestion about the user 
> manually selecting the type is one option, but not the only one. Perhaps 
> mixins can be special case to invoke `idup` if any of their arguments 
> are instanced from `interp`.

I think we have to special case mixin and assert, which is reasonable, 
since this is a language feature.


More information about the Digitalmars-d mailing list