diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2016-01-04 18:29:54 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2016-01-04 18:29:57 +0100 |
commit | a40d80c98260cfd7314da2a44382699b69ed7f7c (patch) | |
tree | 586fbfc35d4cf79634f3871bb02dbda02b62124e /project | |
parent | 66e02a5256cbd7519418e2409c4929a20b9e23ed (diff) | |
download | dotty-a40d80c98260cfd7314da2a44382699b69ed7f7c.tar.gz dotty-a40d80c98260cfd7314da2a44382699b69ed7f7c.tar.bz2 dotty-a40d80c98260cfd7314da2a44382699b69ed7f7c.zip |
Build.scala: only enable features we use
-language:_ does not work when compiling dotty with dotty because it
implies -language:keepUnions which prevents dotty from typechecking
Diffstat (limited to 'project')
-rw-r--r-- | project/Build.scala | 4 |
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"), |