summaryrefslogtreecommitdiff
path: root/test/files/neg/migration28.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/migration28.check')
-rw-r--r--test/files/neg/migration28.check9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/neg/migration28.check b/test/files/neg/migration28.check
new file mode 100644
index 0000000000..9e042a0f0b
--- /dev/null
+++ b/test/files/neg/migration28.check
@@ -0,0 +1,9 @@
+migration28.scala:5: error: method ++= in class Stack has changed semantics:
+Stack ++= now pushes arguments on the stack from left to right.
+ s ++= List(1,2,3)
+ ^
+migration28.scala:7: error: method foreach in class Stack has changed semantics:
+Stack iterator and foreach now traverse in FIFO order.
+ s foreach (_ => ())
+ ^
+two errors found