diff options
Diffstat (limited to 'test/files/pos/t3560.scala')
-rw-r--r-- | test/files/pos/t3560.scala | 2 |
1 files changed, 2 insertions, 0 deletions
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]]() } } |