2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-09-02 23:35:18 +00:00

add scalac option for fatal warnings (#24) (#90)

This commit is contained in:
Michael Smith
2018-08-10 18:09:35 -05:00
committed by Paul Cleary
parent a634015346
commit 92f6b860f8
3 changed files with 3 additions and 2 deletions

View File

@@ -16,6 +16,7 @@ object CompilerOptions {
"-Xlint:private-shadow", // A private field (or class parameter) shadows a superclass field
"-Xlint:type-parameter-shadow", // A local type parameter shadows a type already in scope.
"-Xlint:unsound-match", // Pattern match may not be typesafe.
"-Xfatal-warnings", // Enable failure of compilation when warnings exist.
"-Ypartial-unification", // Enable partial unification in type constructor inference
"-Ywarn-dead-code", // Warn when dead code is identified.
"-Ywarn-extra-implicit", // Warn when more than one implicit parameter section is defined.