Skip to content

Commit e664244

Browse files
authored
enforce "old syntax" again (#1851)
1 parent ab32551 commit e664244

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.sbt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ ThisBuild / scalacOptions ++= Seq(
6464
// "-Wconf:cat=deprecation:w,any:e",
6565
"-Wconf:msg=Implicit parameters should be provided with a `using` clause:s",
6666
"-language:implicitConversions",
67-
"-no-indent"
67+
"-no-indent", // Require classical {...} syntax, indentation is not significant.
68+
"-old-syntax" // Require `(...)` around conditions.
6869
)
6970

7071
ThisBuild / javacOptions ++= Seq(

0 commit comments

Comments
 (0)