From ded727e045d47103ccd9a576d2e15bb1ca2695a2 Mon Sep 17 00:00:00 2001 From: paltherr Date: Fri, 18 Feb 2005 18:40:21 +0000 Subject: - Fixed and added bug 399 --- test/files/pos/compile.scala | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'test/files/pos/compile.scala') diff --git a/test/files/pos/compile.scala b/test/files/pos/compile.scala index b926456753..3979c9737a 100644 --- a/test/files/pos/compile.scala +++ b/test/files/pos/compile.scala @@ -130,3 +130,20 @@ class Test2_3() { } //############################################################################ +// Test 3 - Super Calls with Mixins + +class Test3Foo; + +trait Test3A[T] { + def fun: T = fun; +} + +class Test3B with Test3A[Test3Foo]; + +trait Test3M extends Test3A[Test3Foo] { + override def fun: Test3Foo = super.fun; +} + +class Test3C extends Test3B with Test3M; + +//############################################################################ -- cgit v1.2.3