summaryrefslogblamecommitdiff
path: root/test/files/neg/migration28.check
blob: 19aba2c31d434080e59d7ba401664652c7a5ec13 (plain) (tree)
1
2
3
4
5
6
7
8







                                                                                
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