From 7561db09c19bff7871cfd96c327f6f7882480ebd Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Tue, 27 Sep 2016 17:27:59 +0200 Subject: Fix TypeMismatch not getting nonsensical tags in some cases Thanks @smarter! --- tests/repl/imports.check | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/repl/imports.check') diff --git a/tests/repl/imports.check b/tests/repl/imports.check index 817adae87..2e8d5dcf9 100644 --- a/tests/repl/imports.check +++ b/tests/repl/imports.check @@ -11,13 +11,13 @@ scala> buf += xs 10:buf += xs ^^ found: scala.collection.immutable.List[Int](o.xs) - required: scala.collection.immutable.List[Int](o.xs) + required: String -- [E006] Type Mismatch Error: ------------------------------------------------------------------------------- 10:buf += xs ^^^^^^^^^ found: String - required: String + required: scala.collection.mutable.ListBuffer[Int] scala> buf ++= xs res1: scala.collection.mutable.ListBuffer[Int] = ListBuffer(1, 2, 3) -- cgit v1.2.3