From b091de6c5ea86b3ac0f25516eb1d932ecd851917 Mon Sep 17 00:00:00 2001 From: sergei-shabanau Date: Fri, 23 Nov 2018 12:47:44 -0500 Subject: [PATCH] Added "-Xsource:2.13" compiler option --- src/main/scala/Compilation.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/scala/Compilation.scala b/src/main/scala/Compilation.scala index 417ee87..7e4739c 100644 --- a/src/main/scala/Compilation.scala +++ b/src/main/scala/Compilation.scala @@ -61,6 +61,7 @@ object Compilation { "-Xlint:private-shadow", // A private field (or class parameter) shadows a superclass field. "-Xlint:stars-align", // Pattern sequence wildcard must align with sequence component. "-Xlint:type-parameter-shadow", // A local type parameter shadows a type already in scope. + "-Xsource:2.13", "-Yrangepos", "-Ywarn-dead-code", // Warn when dead code is identified. "-Ywarn-extra-implicit", // Warn when more than one implicit parameter section is defined.