blob: f9dc28bf161f8f1ba2d577dff0948bace98f6212 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
t0903.scala:3: error: value += is not a member of Int
Expression does not convert to assignment because receiver is not assignable.
x += 1
^
t0903.scala:4: error: reassignment to val
x = 2
^
two errors found
|