scalaz
119e1397f1c1
Merge pull request #1338 from S11001001/topic/opt-lmethod-2.12
Stephen Compall
3 days ago
Add -opt:l:method when compiling with Scala >=2.12

136 137 138 139 140 141 142 143 144 145 146 136 137 138 139 140 141 142 143 144 145 146
"-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-language:postfixOps", "-unchecked" ) ++ (CrossVersion.partialVersion(scalaVersion.value) match { case Some((2,10)) => scalac210Options case Some((2,11)) => Scala211_jvm_and_js_options
case _ => Nil
case _ => Seq("-opt:l:method")
}), scalacOptions in (Compile, doc) ++= { val base = (baseDirectory in LocalRootProject).value.getAbsolutePath Seq("-sourcepath", base, "-doc-source-url", "https://github.com/scalaz/scalaz/tree/" + tagOrHash.value + "€{FILE_PATH}.scala")
About FluentSend Feedback