From 0f7ee5e8f2bd094926d3a7011834c2ca426bd2ba Mon Sep 17 00:00:00 2001 From: Antonio Cunei Date: Mon, 14 Jun 2010 12:55:38 +0000 Subject: Test for #3560. --- test/files/pos/t3560.scala | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 test/files/pos/t3560.scala diff --git a/test/files/pos/t3560.scala b/test/files/pos/t3560.scala new file mode 100644 index 0000000000..3cde9710dc --- /dev/null +++ b/test/files/pos/t3560.scala @@ -0,0 +1,2 @@ +trait Foo[X] { def foo : Map[String,Foo[X]] } +object T3560 { def f[T]() : Foo[T] = new Foo[T] { var foo = Map[String,Foo[T]]() } } -- cgit v1.2.3