summaryrefslogtreecommitdiff
path: root/test/files/neg/anytrait.check
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2012-02-22 09:59:18 +0100
committerMartin Odersky <odersky@gmail.com>2012-02-22 09:59:18 +0100
commit8dc2bbe4bdc83edfb44172110f0ffef52df8a1c9 (patch)
treea321d105d68c73db315d937537cb20365909581f /test/files/neg/anytrait.check
parent93a326e160ea9ba822467377f87d798146925367 (diff)
downloadscala-8dc2bbe4bdc83edfb44172110f0ffef52df8a1c9.tar.gz
scala-8dc2bbe4bdc83edfb44172110f0ffef52df8a1c9.tar.bz2
scala-8dc2bbe4bdc83edfb44172110f0ffef52df8a1c9.zip
Updatwd check file.
Diffstat (limited to 'test/files/neg/anytrait.check')
-rw-r--r--test/files/neg/anytrait.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/anytrait.check b/test/files/neg/anytrait.check
index 99c24b85a0..9dd970b58c 100644
--- a/test/files/neg/anytrait.check
+++ b/test/files/neg/anytrait.check
@@ -1,7 +1,7 @@
-anytrait.scala:3: error: this statement is not allowed in trait extending from class Any: private[this] var x: Int = 1
+anytrait.scala:3: error: this statement is not allowed in universal trait extending from class Any: private[this] var x: Int = 1
var x = 1
^
-anytrait.scala:5: error: this statement is not allowed in trait extending from class Any: T.this.x_=(T.this.x.+(1))
+anytrait.scala:5: error: this statement is not allowed in universal trait extending from class Any: T.this.x_=(T.this.x.+(1))
{ x += 1 }
^
two errors found