Fix #128
This commit is contained in:
parent
aec084e23e
commit
e2390521b5
|
|
@ -154,7 +154,8 @@ private:
|
|||
{
|
||||
immutable t = tokens[index].type;
|
||||
if (t == tok!"identifier" || isStringLiteral(t)
|
||||
|| isNumberLiteral(t) || t == tok!"characterLiteral")
|
||||
|| isNumberLiteral(t) || t == tok!"characterLiteral"
|
||||
|| isKeyword(t))
|
||||
write(" ");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
unittest
|
||||
{
|
||||
string[string] aa = ["a" : "b"];
|
||||
auto x = "a" in aa;
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
unittest
|
||||
{
|
||||
string[string] aa = ["a":"b"];
|
||||
auto x = "a" in aa;
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
unittest {
|
||||
string[string] aa = ["a" : "b"];
|
||||
auto x = "a" in aa;
|
||||
}
|
||||
Loading…
Reference in New Issue