diff options
Diffstat (limited to 'tests/repl/imports.check')
-rw-r--r-- | tests/repl/imports.check | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/repl/imports.check b/tests/repl/imports.check index f9e48c011..2e8d5dcf9 100644 --- a/tests/repl/imports.check +++ b/tests/repl/imports.check @@ -7,18 +7,18 @@ defined module o scala> import o._ import o._ scala> buf += xs --- Error: <console> ------------------------------------------------------------ +-- [E006] Type Mismatch Error: <console> ------------------------------------------------------------------------------- 10:buf += xs ^^ - type mismatch: found: scala.collection.immutable.List[Int](o.xs) required: String --- Error: <console> ------------------------------------------------------------ + +-- [E006] Type Mismatch Error: <console> ------------------------------------------------------------------------------- 10:buf += xs ^^^^^^^^^ - type mismatch: found: String required: scala.collection.mutable.ListBuffer[Int] + scala> buf ++= xs res1: scala.collection.mutable.ListBuffer[Int] = ListBuffer(1, 2, 3) scala> :quit |