DIP 1027---String Interpolation---Community Review Round 1

Alexandru Ermicioi alexandru.ermicioi at gmail.com
Tue Dec 17 19:17:24 UTC 2019

On Tuesday, 17 December 2019 at 18:17:30 UTC, Meta wrote:
> This got me excited, but unfortunately it doesn't work with 
> expressions (for obvious reasons):
> // Error: variable apples cannot be read at compile time
> alias msg = AliasSeq!("%s apples and %s bananas makes %s 
> fruit", apples, bananas, apples + bananas);

tuple of lazy args should work probably (i.e. pass through vararg 
function that has all args marked as lazy.

Best regards,

More information about the Digitalmars-d mailing list