www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Formated string with assert inside template constraints?

is it supposed to work?
normally it works e.g.

assert(0, "some\nstring");
prints:
some
string

but if you do it inside a template constraint like this:

void someTemp(T)(T t) if(isCallable!T.call!((b){assert(b, 
"some\nstring");}))
{
}

it prints:
some\x0astring
Jun 09 2016