Feedback Thread: DIP 1036--String Interpolation Tuple Literals--Community Review Round 2
Walter Bright
newshound2 at digitalmars.com
Thu Jan 28 06:00:25 UTC 2021
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?
More information about the Digitalmars-d
mailing list