You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't insert semicolons in conditions unless indented
In a statement like this
```scala
if foo
(bar)
then
```
we would never expect a semicolon to be inserted between `foo` and `bar`. The `foo`
would need to be indented itself for this to happen.
So, the following is OK
```scala
if
val x = ...
x > 0
then
```
But the following is not:
```scala
if val x = ...
x > 0
```
Fixes#12757
0 commit comments