diff options
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/t1422.check | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/neg/t1422.check b/test/files/neg/t1422.check index 4db64f1d49..362d7ef36b 100644 --- a/test/files/neg/t1422.check +++ b/test/files/neg/t1422.check @@ -1,4 +1,7 @@ t1422.scala:1: error: private[this] not allowed for case class parameters case class A(private[this] val foo:String) { } ^ -one error found +t1422.scala:1: error: value foo in class A cannot be accessed in A +case class A(private[this] val foo:String) { } + ^ +two errors found |