From 969384da702f2168bfe75d83870fe1b11b12c0c4 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 13 Nov 2007 13:14:15 +0000 Subject: fixed #234; added tests --- test/files/pos/t0165.scala | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 test/files/pos/t0165.scala (limited to 'test/files/pos/t0165.scala') diff --git a/test/files/pos/t0165.scala b/test/files/pos/t0165.scala new file mode 100755 index 0000000000..05c4a1c77a --- /dev/null +++ b/test/files/pos/t0165.scala @@ -0,0 +1,14 @@ +package test3 +import scala.collection.jcl.LinkedHashMap + +trait Main { + def asMany : ArrayResult = { + object result extends LinkedHashMap[String,String] with ArrayResult { + def current = result + } + result + } + trait ArrayResult { + def current : scala.collection.Map[String,String] + } +} -- cgit v1.2.3