From c0a977a77991fb72bbc5e8c7953c885ca48b59d2 Mon Sep 17 00:00:00 2001 From: Allan Renucci Date: Fri, 5 Jan 2018 10:44:28 +0100 Subject: [PATCH] Fix #2567: Remove type annotation in test case --- tests/run/t3529.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/run/t3529.scala b/tests/run/t3529.scala index eae568214461..a5977d0a6c55 100644 --- a/tests/run/t3529.scala +++ b/tests/run/t3529.scala @@ -8,8 +8,7 @@ object Test { assert((10 to 1 by -1 drop 9) == Seq(1)) assert((1 to 10 drop 9) == Seq(10)) - assert((1 until 10 drop 9) == (Nil: List[Int])) - // investigate why we need the type annotation here. See #2567. + assert((1 until 10 drop 9) == Nil) assert(Stream(1 to 10).flatten.toList == Stream(1 until 11).flatten.toList) }