From 972ecebb2794655b543fde5c8a4f75614729ce5c Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 27 Jun 2006 15:27:12 +0000 Subject: Fixed bugs 633, 637, 639, 640 --- test/files/run/bug629.scala | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/files/run/bug629.scala (limited to 'test/files/run/bug629.scala') diff --git a/test/files/run/bug629.scala b/test/files/run/bug629.scala new file mode 100644 index 0000000000..67baead5f1 --- /dev/null +++ b/test/files/run/bug629.scala @@ -0,0 +1,13 @@ +object Test +{ + def main(args : Array[String]) : Unit = Console.println(new C(1)) +} + +abstract class A(val x : Int) + +class C(x : Int) extends A(x) +{ + override def toString() = "OK" + val v = new D + class D { def value = x } +} -- cgit v1.2.3