summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/settings/FscSettings.scala
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2016-02-15 16:56:48 +0100
committerLukas Rytz <lukas.rytz@gmail.com>2016-02-16 16:43:34 +0100
commitb7626d998ee415271105450f125c507629b8eae2 (patch)
treefd201d898e7d67dbdabdd116f1f27710718b98d6 /src/compiler/scala/tools/nsc/settings/FscSettings.scala
parentce3a8030fa59e5a9082528bf6f1ffc12a9277bc9 (diff)
downloadscala-b7626d998ee415271105450f125c507629b8eae2.tar.gz
scala-b7626d998ee415271105450f125c507629b8eae2.tar.bz2
scala-b7626d998ee415271105450f125c507629b8eae2.zip
Remove -Y settings that are no longer used in 2.12
Added a deprecation warning for `-optimize`. Later we'll also graduate `-Yopt` to `-opt`, probably for 2.12.0-M5.
Diffstat (limited to 'src/compiler/scala/tools/nsc/settings/FscSettings.scala')
-rw-r--r--src/compiler/scala/tools/nsc/settings/FscSettings.scala4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/settings/FscSettings.scala b/src/compiler/scala/tools/nsc/settings/FscSettings.scala
index fffbb4333f..d6013e0b00 100644
--- a/src/compiler/scala/tools/nsc/settings/FscSettings.scala
+++ b/src/compiler/scala/tools/nsc/settings/FscSettings.scala
@@ -37,9 +37,7 @@ class FscSettings(error: String => Unit) extends Settings(error) {
/** If a setting (other than a PathSetting) represents a path or paths.
* For use in absolutization.
*/
- private def holdsPath = Set[Settings#Setting](
- d, dependencyfile, pluginsDir, Ygenjavap
- )
+ private def holdsPath = Set[Settings#Setting](d, dependencyfile, pluginsDir)
override def processArguments(arguments: List[String], processAll: Boolean): (Boolean, List[String]) = {
val (r, args) = super.processArguments(arguments, processAll)