Feedback Thread: DIP 1036--String Interpolation Tuple Literals--Community Review Round 2
Steven Schveighoffer
schveiguy at gmail.com
Thu Jan 28 14:43:53 UTC 2021
On 1/28/21 1:00 AM, Walter Bright wrote:
> On 1/27/2021 4:09 AM, Atila Neves wrote:
>> auto msg1 = i"Hello, ${name}, this is your ${visits}${post(visits)}
>> time visiting";
>> auto msg2 = ir"Hello, ${name}, this is your ${visits}${post(visits)}
>> time visiting";
>> auto msg3 = i`Hello, ${name}, this is your ${visits}${post(visits)}
>> time visiting`;
>> auto msg3 = q{Hello, ${name}, this is your ${visits}${post(visits)}
>> time visiting};
>>
>> I'm guessing msg3 was supposed to be `iq{...}`?
>
> And shouldn't it be msg4?
Yes it should. I clearly didn't proofread this part very well. :(
-Steve
More information about the Digitalmars-d
mailing list