From 12a0200eae15615cf81caa3be8febda00c968919 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sat, 23 Feb 2008 21:56:27 +0000 Subject: fixed tests --- test/files/pos/bug812.scala | 2 +- test/files/pos/michel4.scala | 4 ++-- test/files/pos/t0231.scala | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test/files/pos') 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") } } -- cgit v1.2.3