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

rikki cattermole rikki at cattermole.co.nz
Mon Feb 1 17:19:09 UTC 2021


On 02/02/2021 5:41 AM, Steven Schveighoffer wrote:
> There is literally no use case for calling mixin with the expanded 
> tuple. If we are doing rewrites, here is one place we should always do it.

enum Prop = ...;
enum PropValue = ...;

mixin(i"obj.${Prop} = PropValue;");

Are you referring to that? Because that could be useful.


More information about the Digitalmars-d mailing list