summaryrefslogtreecommitdiff
path: root/test/files/jvm
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-08-08 06:56:21 +0000
committerPaul Phillips <paulp@improving.org>2011-08-08 06:56:21 +0000
commit8b28292b5379a34fad0599335116b9e54ee44e20 (patch)
tree654c93a14a26e802948aa80664efb7aea7b448d3 /test/files/jvm
parentbe31934db38a93468b6390e783ca377da6283c19 (diff)
downloadscala-8b28292b5379a34fad0599335116b9e54ee44e20.tar.gz
scala-8b28292b5379a34fad0599335116b9e54ee44e20.tar.bz2
scala-8b28292b5379a34fad0599335116b9e54ee44e20.zip
Fixing all the tests and source which still use...
Fixing all the tests and source which still use the old for comprehension syntax with vals where there are no vals and no vals where there are vals. No review.
Diffstat (limited to 'test/files/jvm')
-rw-r--r--test/files/jvm/protectedacc.scala2
-rw-r--r--test/files/jvm/xmlstuff.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/jvm/protectedacc.scala b/test/files/jvm/protectedacc.scala
index c3b07a0a7e..89e70b90d8 100644
--- a/test/files/jvm/protectedacc.scala
+++ b/test/files/jvm/protectedacc.scala
@@ -82,7 +82,7 @@ package p {
Console.println("meth1(1) = " + meth1(1));
Console.println("meth1(1.0) = " + meth1(1.0));
// test accesses from closures
- for (val x <- 1 until 3)
+ for (x <- 1 until 3)
Console.println("meth2(1)(1) = " + meth2(1)("prefix: "));
Console.println("meth3 = " + meth3.getClass);
diff --git a/test/files/jvm/xmlstuff.scala b/test/files/jvm/xmlstuff.scala
index 08aa716352..f2ad0307b1 100644
--- a/test/files/jvm/xmlstuff.scala
+++ b/test/files/jvm/xmlstuff.scala
@@ -27,7 +27,7 @@ object Test {
<bar value="5" gi='go'/>
</foo>;
- val pelems_1 = for( val x <- p \ "bar"; val y <- p \ "baz" ) yield {
+ val pelems_1 = for (x <- p \ "bar"; y <- p \ "baz" ) yield {
Text(x.attributes("value").toString + y.attributes("bazValue").toString+ "!")
};
val pelems_2 = new NodeSeq { val theSeq = List(Text("38!"),Text("58!")) };