blob: 4324cc0d0a643447bec04f5b26a071249c17e656 (
plain) (
tree)
|
|
migration28.scala:5: error: method ++= in class Stack is deprecated: use pushAll
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
|