diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2016-09-27 17:27:59 +0200 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2016-10-10 13:25:36 +0200 |
commit | 7561db09c19bff7871cfd96c327f6f7882480ebd (patch) | |
tree | 11ab91c7abd83b6b835d0eed7f81a85c7bf9c76c /tests/repl/imports.check | |
parent | a7d3f6e1b85f772bb343c5d006fd1e4edc844a93 (diff) | |
download | dotty-7561db09c19bff7871cfd96c327f6f7882480ebd.tar.gz dotty-7561db09c19bff7871cfd96c327f6f7882480ebd.tar.bz2 dotty-7561db09c19bff7871cfd96c327f6f7882480ebd.zip |
Fix TypeMismatch not getting nonsensical tags in some cases
Thanks @smarter!
Diffstat (limited to 'tests/repl/imports.check')
-rw-r--r-- | tests/repl/imports.check | 4 |
1 files changed, 2 insertions, 2 deletions
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: <console> ------------------------------------------------------------------------------- 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) |