summaryrefslogtreecommitdiff
path: root/test/files/pos
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-09-05 12:14:48 +0000
committermichelou <michelou@epfl.ch>2007-09-05 12:14:48 +0000
commitc0983451c5e9e0b3f42d446c51f53cef6df0ecfc (patch)
treedf866bb207d00d8004dfe17d1d196f15daba9015 /test/files/pos
parent98b3d5254fbb88a7518869429f6f49830529f245 (diff)
downloadscala-c0983451c5e9e0b3f42d446c51f53cef6df0ecfc.tar.gz
scala-c0983451c5e9e0b3f42d446c51f53cef6df0ecfc.tar.bz2
scala-c0983451c5e9e0b3f42d446c51f53cef6df0ecfc.zip
propagated fix for ticket #55
Diffstat (limited to 'test/files/pos')
-rw-r--r--test/files/pos/t0055.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t0055.scala b/test/files/pos/t0055.scala
new file mode 100644
index 0000000000..0796294403
--- /dev/null
+++ b/test/files/pos/t0055.scala
@@ -0,0 +1,6 @@
+class X(x : Any)
+class W {
+ new X(new Z() with Y) {}
+ trait Y { def y = () }
+}
+class Z(r : Any) { def this() = this(null) }