Merge pull request #305 from stefan-koch-sociomantic/fix-301
Fix issue #301 merged-on-behalf-of: stefan-koch-sociomantic <stefan-koch-sociomantic@users.noreply.github.com>
This commit is contained in:
commit
5ed20e0a3c
|
@ -458,7 +458,10 @@ private:
|
|||
else if (currentIs(tok!"{") && config.dfmt_brace_style == BraceStyle.allman)
|
||||
break;
|
||||
else if (t == tok!"import" && !currentIs(tok!"import")
|
||||
&& !currentIs(tok!"}") && !(currentIs(tok!"public")
|
||||
&& !currentIs(tok!"}")
|
||||
&& !((currentIs(tok!"public")
|
||||
|| currentIs(tok!"private")
|
||||
|| currentIs(tok!"static"))
|
||||
&& peekIs(tok!"import")) && !indents.topIsOneOf(tok!"if",
|
||||
tok!"debug", tok!"version"))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue