Skip to content

Commit 705a95f

Browse files
committed
Merge pull request #1016 from dotty-staging/fix/language-features
Build.scala: only enable features we use
2 parents e71b5fe + a40d80c commit 705a95f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

project/Build.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ object DottyBuild extends Build {
6060
"jline" % "jline" % "2.12"),
6161

6262
// scalac options
63-
scalacOptions in Global ++= Seq("-feature", "-deprecation", "-language:_"),
63+
scalacOptions in Global ++= Seq("-feature", "-deprecation", "-language:existentials,higherKinds,implicitConversions"),
6464

6565
javacOptions ++= Seq("-Xlint:unchecked", "-Xlint:deprecation"),
6666

@@ -144,7 +144,7 @@ object DottyBuild extends Build {
144144
testFrameworks += new TestFramework("org.scalameter.ScalaMeterFramework"),
145145

146146
// scalac options
147-
scalacOptions in Global ++= Seq("-feature", "-deprecation", "-language:_"),
147+
scalacOptions in Global ++= Seq("-feature", "-deprecation", "-language:existentials,higherKinds,implicitConversions"),
148148

149149
javacOptions ++= Seq("-Xlint:unchecked", "-Xlint:deprecation"),
150150

0 commit comments

Comments
 (0)