scriptlike icon indicating copy to clipboard operation
scriptlike copied to clipboard

interp's curly braces should be optional for a lone symbol

Open Abscissa opened this issue 9 years ago • 0 comments

For a simple lone symbol, interp should allow simplifying this...

auto foo = 42;
auto str = mixin(interp!"Value is ${foo} now");

...down to...

auto foo = 42;
auto str = mixin(interp!"Value is $foo now");

Abscissa avatar Sep 23 '15 14:09 Abscissa