Put some space before @
This commit is contained in:
parent
feb75b4d3b
commit
0f337b0a15
|
@ -403,7 +403,8 @@ private:
|
|||
else if (current.type == tok!"identifier")
|
||||
{
|
||||
writeToken();
|
||||
if (current.type == tok!"identifier" || isKeyword(current.type))
|
||||
if (current.type == tok!"identifier" || isKeyword(current.type)
|
||||
|| current.type == tok!"@")
|
||||
write(" ");
|
||||
}
|
||||
else
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import std.stdio, std.math, std.range, std.algorithm, std.numeric, std.traits,
|
||||
std.typecons;
|
||||
|
||||
double hero(in uint a, in uint b, in uint c) pure nothrow @safe@nogc
|
||||
double hero(in uint a, in uint b, in uint c) pure nothrow @safe @nogc
|
||||
{
|
||||
immutable s = (a + b + c) / 2.0;
|
||||
immutable a2 = s * (s - a) * (s - b) * (s - c);
|
||||
|
|
Loading…
Reference in New Issue