diff options
Diffstat (limited to 'tests/neg/assignments.scala')
-rw-r--r-- | tests/neg/assignments.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/neg/assignments.scala b/tests/neg/assignments.scala index 5be107717..273419cb5 100644 --- a/tests/neg/assignments.scala +++ b/tests/neg/assignments.scala @@ -13,7 +13,7 @@ object assignments { x = x + 1 x *= 2 - x_= = 2 // error should give missing arguments + // error reassignment to val + x_= = 2 // error should give missing arguments } var c = new C |