aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
Diffstat (limited to 'project')
-rw-r--r--project/Build.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/project/Build.scala b/project/Build.scala
index fb155d2f7..e44a8413d 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -60,7 +60,7 @@ object DottyBuild extends Build {
"jline" % "jline" % "2.12"),
// scalac options
- scalacOptions in Global ++= Seq("-feature", "-deprecation", "-language:_"),
+ scalacOptions in Global ++= Seq("-feature", "-deprecation", "-language:existentials,higherKinds,implicitConversions"),
javacOptions ++= Seq("-Xlint:unchecked", "-Xlint:deprecation"),
@@ -144,7 +144,7 @@ object DottyBuild extends Build {
testFrameworks += new TestFramework("org.scalameter.ScalaMeterFramework"),
// scalac options
- scalacOptions in Global ++= Seq("-feature", "-deprecation", "-language:_"),
+ scalacOptions in Global ++= Seq("-feature", "-deprecation", "-language:existentials,higherKinds,implicitConversions"),
javacOptions ++= Seq("-Xlint:unchecked", "-Xlint:deprecation"),