summaryrefslogtreecommitdiff
path: root/test/files/neg/varargs.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-05-01 05:10:58 +0000
committerPaul Phillips <paulp@improving.org>2011-05-01 05:10:58 +0000
commit269ea9ab579f0e7ff14df31caa0981627f051958 (patch)
tree962682a6522e59ee96fb66724d4a48cf24069868 /test/files/neg/varargs.check
parenta02b2daa2a46661a3c108d26c738b4dbb836ea4d (diff)
downloadscala-269ea9ab579f0e7ff14df31caa0981627f051958.tar.gz
scala-269ea9ab579f0e7ff14df31caa0981627f051958.tar.bz2
scala-269ea9ab579f0e7ff14df31caa0981627f051958.zip
Since I don't want to commit anything "interest...
Since I don't want to commit anything "interesting" until we ship 2.9, a few uninteresting cleanups involving how types are printed, getting some debugging code in shape to prepare for the long winter ahead, etc. No review.
Diffstat (limited to 'test/files/neg/varargs.check')
-rw-r--r--test/files/neg/varargs.check6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/neg/varargs.check b/test/files/neg/varargs.check
index 1352dd968c..676a611341 100644
--- a/test/files/neg/varargs.check
+++ b/test/files/neg/varargs.check
@@ -1,10 +1,10 @@
-varargs.scala:16: error: A method with a varargs annotation produces a forwarder method with the same signature (a: Int,b: Array[java.lang.String])Int as an existing method.
+varargs.scala:16: error: A method with a varargs annotation produces a forwarder method with the same signature (a: Int, b: Array[java.lang.String])Int as an existing method.
@varargs def v1(a: Int, b: String*) = a + b.length
^
varargs.scala:19: error: A method without repeated parameters cannot be annotated with the `varargs` annotation.
@varargs def nov(a: Int) = 0
^
-varargs.scala:21: error: A method with a varargs annotation produces a forwarder method with the same signature (a: Int,b: Array[java.lang.String])Int as an existing method.
+varargs.scala:21: error: A method with a varargs annotation produces a forwarder method with the same signature (a: Int, b: Array[java.lang.String])Int as an existing method.
@varargs def v2(a: Int, b: String*) = 0
^
-three errors found \ No newline at end of file
+three errors found