diff options
Diffstat (limited to 'tests/untried/pos/t3363-old.scala')
-rw-r--r-- | tests/untried/pos/t3363-old.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/untried/pos/t3363-old.scala b/tests/untried/pos/t3363-old.scala index 36d4cd933..8e54d4b4a 100644 --- a/tests/untried/pos/t3363-old.scala +++ b/tests/untried/pos/t3363-old.scala @@ -5,7 +5,7 @@ object TestCase { //if fs was reduced to List (generic type with one parameter) then the code compiles //if you inherit from MapOps[T] instead of MapOps[F] then code compiles fine - implicit def map2ops[T,F](fs: Map[T,F]) = new MapOps[F] { + implicit def map2ops[T,F](fs: Map[T,F]): TestCase.MapOps[F]{lazy val m: Manifest[T]; def is(xs: List[T]): List[List[T]]} = new MapOps[F] { //if you remove this line, then code compiles lazy val m: Manifest[T] = sys.error("just something to make it compile") def is(xs: List[T]) = List(xs) |