summaryrefslogblamecommitdiff
path: root/test/files/neg/t9834.check
blob: d07eb7f1554ceafe89f78675cc8d59ee008a111a (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                     
                                          


               
t9834.scala:5: error: value += is not a member of Int
  Expression does not convert to assignment because:
    type mismatch;
     found   : String
     required: Int
    expansion: x.update(x.apply().+("42"))
  x() += "42"
      ^
one error found