Fix regression
This commit is contained in:
parent
a9426cb44f
commit
46db867c41
|
@ -789,14 +789,11 @@ private:
|
||||||
else if (!peekBackIsOneOf(false, tok!"(", tok!",", tok!"!"))
|
else if (!peekBackIsOneOf(false, tok!"(", tok!",", tok!"!"))
|
||||||
write(" ");
|
write(" ");
|
||||||
writeToken();
|
writeToken();
|
||||||
if (!isContract)
|
immutable isFunctionLit = astInformation.funLitStartLocations.canFindIndex(current.index);
|
||||||
{
|
if (isFunctionLit && config.dfmt_brace_style == BraceStyle.allman)
|
||||||
if (config.dfmt_brace_style == BraceStyle.allman)
|
newline();
|
||||||
newline();
|
else if (!isContract)
|
||||||
else
|
write(" ");
|
||||||
write(" ");
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case tok!"is":
|
case tok!"is":
|
||||||
if (!peekBackIsOneOf(false, tok!"!", tok!"(", tok!",", tok!"}", tok!"=",
|
if (!peekBackIsOneOf(false, tok!"!", tok!"(", tok!",", tok!"}", tok!"=",
|
||||||
|
|
Loading…
Reference in New Issue