On Friday, 20 November 2015 at 20:39:58 UTC, Ilya wrote:
Can DMD frontend optimize
string concatenation
```
enum Double(S) = S ~ S;
assert(condition, "Text " ~ Double!"+" ~ ___FUNCTION__);
```
to
```
assert(condition, "Text ++_function_name_");
```
?
At least for string (and array?) literals, it's now guaranteed to
happen at compile time. It was changed in order to get rid of the
error-prone "concatenation by juxtaposition" feature inherited
from C. I'm not sure it also applies to non-literals, though.