summaryrefslogtreecommitdiff
path: root/test/pending/pos/bug1085.scala
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@epfl.ch>2007-05-03 09:43:45 +0000
committerAdriaan Moors <adriaan.moors@epfl.ch>2007-05-03 09:43:45 +0000
commit97caf77483fa29a81068a9b37da999e49bed016c (patch)
tree1ecad2fec9cedce76eefc223b40f784ae2cc908d /test/pending/pos/bug1085.scala
parent7cf6a800448e1664d1085f44b3e76abbc7651b25 (diff)
downloadscala-97caf77483fa29a81068a9b37da999e49bed016c.tar.gz
scala-97caf77483fa29a81068a9b37da999e49bed016c.tar.bz2
scala-97caf77483fa29a81068a9b37da999e49bed016c.zip
pending test for bug 1085
Diffstat (limited to 'test/pending/pos/bug1085.scala')
-rw-r--r--test/pending/pos/bug1085.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/pending/pos/bug1085.scala b/test/pending/pos/bug1085.scala
new file mode 100644
index 0000000000..8330b7e399
--- /dev/null
+++ b/test/pending/pos/bug1085.scala
@@ -0,0 +1,9 @@
+trait Functor[a] {
+ type MyType[a]
+}
+
+object Test {
+ def listFunctor[a]: Functor[a]{type MyType[x]=List[x]} = new Functor[a] {
+ type MyType[t]=List[t]
+ }
+} \ No newline at end of file