Latest scala version support use Werror
This commit is contained in:
parent
dfa20f8530
commit
ed0411bd74
2 changed files with 2 additions and 2 deletions
|
|
@ -1 +1 @@
|
|||
sbt.version=1.10.11
|
||||
sbt.version=1.12.0
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@ object Gs {
|
|||
"-explain", // Explain errors in more detail.
|
||||
"-unchecked", // Enable additional warnings where generated code depends on assumptions.
|
||||
"-explain-types", // Explain type errors in more detail.
|
||||
"-Xfatal-warnings", // Fail the compilation if there are any warnings.
|
||||
"-language:strictEquality", // Enable multiversal equality (require CanEqual)
|
||||
"-Werror", // Fail the compilation if there are any warnings.
|
||||
"-Wunused:implicits", // Warn if an implicit parameter is unused.
|
||||
"-Wunused:explicits", // Warn if an explicit parameter is unused.
|
||||
"-Wunused:imports", // Warn if an import selector is not referenced.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue