diff options
Diffstat (limited to 'tests/new/t2441pos.scala')
-rw-r--r-- | tests/new/t2441pos.scala | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/new/t2441pos.scala b/tests/new/t2441pos.scala deleted file mode 100644 index 25eb2232c..000000000 --- a/tests/new/t2441pos.scala +++ /dev/null @@ -1,8 +0,0 @@ -abstract class A { - private def foo = List(1, 2) -} -trait B extends A { - private def foo = List("a", "b") - // However it compiles correctly if the type is given: - // private def foo: List[String] = List("a", "b") -} |