Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove -deprecation from partest default options.

Who knows why it was ever like this; it's not like anyone
sees the deprecation warnings. In PR #1807 there is now a
test which depends on partest not making this move, so it's
a good time to finally expunge it.
  • Loading branch information...
commit 9575ee9961df08e3e83b473c40f41a1e3548fb8d 1 parent 1284c3c
Paul Phillips paulp authored
2  src/partest/scala/tools/partest/PartestDefaults.scala
View
@@ -21,7 +21,7 @@ object PartestDefaults {
def javaCmd = propOrElse("partest.javacmd", "java")
def javacCmd = propOrElse("partest.javac_cmd", "javac")
def javaOpts = propOrElse("partest.java_opts", "")
- def scalacOpts = propOrElse("partest.scalac_opts", "-deprecation")
+ def scalacOpts = propOrElse("partest.scalac_opts", "")
def testBuild = propOrNone("partest.build")
def errorCount = propOrElse("partest.errors", "0").toInt
1  src/partest/scala/tools/partest/nest/CompileManager.scala
View
@@ -41,7 +41,6 @@ class ExtConsoleReporter(settings: Settings, val writer: PrintWriter) extends Co
class TestSettings(cp: String, error: String => Unit) extends Settings(error) {
def this(cp: String) = this(cp, _ => ())
- deprecation.value = true
nowarnings.value = false
encoding.value = "UTF-8"
classpath.value = cp
2  test/files/neg/classmanifests_new_deprecations.flags
View
@@ -1 +1 @@
--Xfatal-warnings
+-deprecation -Xfatal-warnings
1  test/files/neg/for-comprehension-old.flags
View
@@ -0,0 +1 @@
+-deprecation
2  test/files/neg/macro-deprecate-idents.flags
View
@@ -1 +1 @@
--Xfatal-warnings
+-deprecation -Xfatal-warnings
2  test/files/neg/macro-invalidshape-d.flags
View
@@ -1 +1 @@
--language:experimental.macros
+-deprecation -language:experimental.macros
1  test/files/neg/names-defaults-neg.flags
View
@@ -0,0 +1 @@
+-deprecation
1  test/files/neg/t5589neg.flags
View
@@ -0,0 +1 @@
+-deprecation
1  test/files/neg/t5956.flags
View
@@ -0,0 +1 @@
+-deprecation
Please sign in to comment.
Something went wrong with that request. Please try again.