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

Paul Backus snarwin at gmail.com
Mon Feb 1 16:37:00 UTC 2021


On Monday, 1 February 2021 at 16:16:11 UTC, Steven Schveighoffer 
wrote:
> On 2/1/21 11:00 AM, Dukc wrote:
>> 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.

Please, no. This way leads to the Dark Side.


More information about the Digitalmars-d mailing list