summaryrefslogtreecommitdiff
path: root/test/files/jvm/interpreter.scala
diff options
context:
space:
mode:
authorSimon Ochsenreither <simon@ochsenreither.de>2013-12-10 20:11:07 +0100
committerSimon Ochsenreither <simon@ochsenreither.de>2014-01-09 00:43:14 +0100
commitc5567e2700dfe6c19d968c2285821ef4ab8a8e6c (patch)
tree6a120e3ec4d31224fd3f36956824b1a23944dee7 /test/files/jvm/interpreter.scala
parentada8d9156baad2d8a24c1a40e032eb4bc7154bac (diff)
downloadscala-c5567e2700dfe6c19d968c2285821ef4ab8a8e6c.tar.gz
scala-c5567e2700dfe6c19d968c2285821ef4ab8a8e6c.tar.bz2
scala-c5567e2700dfe6c19d968c2285821ef4ab8a8e6c.zip
SI-8035 Deprecate automatic () insertion in argument lists
This promotes the () insertion warning from -Ywarn-adapted-args to a deprecation warning. -Xfuture tunrs it into a compiler error. Auto tupling remains unchanged for now. The tests have been fixed the following way: - Warnings caused by general sloppiness (Try(), Future(), ...) have been fixed. - Warnings which raise interesting questions (x == (), ...) received an updated checkfile for now.
Diffstat (limited to 'test/files/jvm/interpreter.scala')
-rw-r--r--test/files/jvm/interpreter.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/jvm/interpreter.scala b/test/files/jvm/interpreter.scala
index bd1851053f..c68c064c31 100644
--- a/test/files/jvm/interpreter.scala
+++ b/test/files/jvm/interpreter.scala
@@ -25,7 +25,7 @@ println("hello")
// ticket #1513
val t1513 = Array(null)
// ambiguous toString problem from #547
-val atom = new scala.xml.Atom()
+val atom = new scala.xml.Atom(())
// overriding toString problem from #1404
class S(override val toString : String)
val fish = new S("fish")