diff options
author | michelou <michelou@epfl.ch> | 2006-11-29 13:11:31 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2006-11-29 13:11:31 +0000 |
commit | f9da023c4e7d57e38ba0041e0ee31b9ee46ec4a9 (patch) | |
tree | 46e7bc64451aec5325e0d06a671cd5b549ab29fd /test/files/res/bug597/Test.scala | |
parent | 50c411759b491a88d7ffca8fcda9bce9d22ac22c (diff) | |
download | scala-f9da023c4e7d57e38ba0041e0ee31b9ee46ec4a9.tar.gz scala-f9da023c4e7d57e38ba0041e0ee31b9ee46ec4a9.tar.bz2 scala-f9da023c4e7d57e38ba0041e0ee31b9ee46ec4a9.zip |
renamed directory 'resident' to match '--res' o...
renamed directory 'resident' to match '--res' option
Diffstat (limited to 'test/files/res/bug597/Test.scala')
-rw-r--r-- | test/files/res/bug597/Test.scala | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/files/res/bug597/Test.scala b/test/files/res/bug597/Test.scala new file mode 100644 index 0000000000..2f63f46c3d --- /dev/null +++ b/test/files/res/bug597/Test.scala @@ -0,0 +1,27 @@ +package test; + +abstract class Base { + type A <: Ax; + + abstract class Ax { + def a = null; + def string = "A"; + } +} +trait ExtB extends Base { + type A <: Ax; + trait Ax extends super.Ax { + def c = null; + override def string = super.string + "C"; + } +} + +trait ExtC extends /*ExtA with*/ ExtB { + type A <: Ax; + trait Ax extends super.Ax { + a + c + def d = null; + override def string = super.string + "D"; + } +} |