summaryrefslogblamecommitdiff
path: root/test/files/neg/t1215.check
blob: 4cbd0d85f385e615b27a5fcbd41977bbaa2ed953 (plain) (tree)
1
2
3
4
5
                                                     
                                                                               
                
             
               
t1215.scala:2: error: value += is not a member of Int
  Expression does not convert to assignment because receiver is not assignable.
  val x = 1 += 1
            ^
one error found