summaryrefslogtreecommitdiff
path: root/test/files/neg/migration28.check
blob: 9e042a0f0b1684031ced8e40d0a47697754c6f5a (plain) (blame)
1
2
3
4
5
6
7
8
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