diff options
author | paltherr <paltherr@epfl.ch> | 2005-02-18 18:40:21 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2005-02-18 18:40:21 +0000 |
commit | ded727e045d47103ccd9a576d2e15bb1ca2695a2 (patch) | |
tree | 59ccebf7c1fe94d9c9413d0326ca56d26bacc21c /test/files/pos | |
parent | ee4c236bcf98fbb10d73933ddb1c005412eaa947 (diff) | |
download | scala-ded727e045d47103ccd9a576d2e15bb1ca2695a2.tar.gz scala-ded727e045d47103ccd9a576d2e15bb1ca2695a2.tar.bz2 scala-ded727e045d47103ccd9a576d2e15bb1ca2695a2.zip |
- Fixed and added bug 399
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/compile.scala | 17 |
1 files changed, 17 insertions, 0 deletions
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; + +//############################################################################ |