summaryrefslogtreecommitdiff
path: root/test/files/pos
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2008-02-23 21:56:27 +0000
committerMartin Odersky <odersky@gmail.com>2008-02-23 21:56:27 +0000
commit12a0200eae15615cf81caa3be8febda00c968919 (patch)
tree71a56d496898f16bc0a01c757f58faa801a1c644 /test/files/pos
parentdbf12a761a461e95282e37cf8ff548e431c601cb (diff)
downloadscala-12a0200eae15615cf81caa3be8febda00c968919.tar.gz
scala-12a0200eae15615cf81caa3be8febda00c968919.tar.bz2
scala-12a0200eae15615cf81caa3be8febda00c968919.zip
fixed tests
Diffstat (limited to 'test/files/pos')
-rw-r--r--test/files/pos/bug812.scala2
-rw-r--r--test/files/pos/michel4.scala4
-rw-r--r--test/files/pos/t0231.scala2
3 files changed, 4 insertions, 4 deletions
diff --git a/test/files/pos/bug812.scala b/test/files/pos/bug812.scala
index ccbe6db5ce..1c9c923b6c 100644
--- a/test/files/pos/bug812.scala
+++ b/test/files/pos/bug812.scala
@@ -2,6 +2,6 @@ package test;
import scala.{Application => Main};
class Test extends Main {
import test.{Test => Hello}
- super[Application].executionStart;
+ super[Application].main(Array("test"));
private[Test] def xxx = 10;
}
diff --git a/test/files/pos/michel4.scala b/test/files/pos/michel4.scala
index 2390be5d26..ce9de29a2e 100644
--- a/test/files/pos/michel4.scala
+++ b/test/files/pos/michel4.scala
@@ -1,7 +1,7 @@
class A() {
- val f : Int = 2
+ def f : Int = 2
}
class B() extends A() {
override val f : Int = super.f
-} \ No newline at end of file
+}
diff --git a/test/files/pos/t0231.scala b/test/files/pos/t0231.scala
index 83d89dccb9..895e780421 100644
--- a/test/files/pos/t0231.scala
+++ b/test/files/pos/t0231.scala
@@ -1,5 +1,5 @@
class Foo {
- object aaa {
+ def aaa {
println("a")
}
}