This commit is contained in:
Hackerpilot 2015-03-05 19:40:55 -08:00
parent 514ec6d32f
commit 6f153bd8a1
3 changed files with 8 additions and 1 deletions

View File

@ -335,6 +335,7 @@ private:
break;
case tok!"is":
writeToken();
if (!currentIs(tok!"("))
write(" ");
break;
default:

3
tests/issue0041.d Normal file
View File

@ -0,0 +1,3 @@
static if (is (typeof(T.init.apply(fp, null))))
{
}

3
tests/issue0041.d.ref Normal file
View File

@ -0,0 +1,3 @@
static if (is(typeof(T.init.apply(fp, null))))
{
}