summaryrefslogblamecommitdiff
path: root/test/files/neg/migration28.check
blob: 4324cc0d0a643447bec04f5b26a071249c17e656 (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