summaryrefslogtreecommitdiff
path: root/test/files/neg/t4541.check
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@gmail.com>2012-06-26 16:01:48 +0200
committerHubert Plociniczak <hubert.plociniczak@gmail.com>2012-06-27 09:36:06 +0200
commit175d8714e31bee3146cfb6626b8b40e50852cb22 (patch)
tree1810b3986d280708947fb2cd33cd0e0a04ff0f9b /test/files/neg/t4541.check
parent5a7bbfe035ecb64acd57fc66ea0d874ad02c31ff (diff)
downloadscala-175d8714e31bee3146cfb6626b8b40e50852cb22.tar.gz
scala-175d8714e31bee3146cfb6626b8b40e50852cb22.tar.bz2
scala-175d8714e31bee3146cfb6626b8b40e50852cb22.zip
Closes SI-5148.
Unfortunately we have to wrap transform to catch all the MissingRequirementErrors exceptions (wrapped in TypeErrors). This is because we force the info of the symbol in a couple of places and we would have to catch all/some of them (and remove the duplicates as well which really becomes messy). Review by @axel22.
Diffstat (limited to 'test/files/neg/t4541.check')
-rw-r--r--test/files/neg/t4541.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/t4541.check b/test/files/neg/t4541.check
index c01226685f..7bd8ff78f9 100644
--- a/test/files/neg/t4541.check
+++ b/test/files/neg/t4541.check
@@ -1,7 +1,7 @@
-t4541.scala:11: error: scala.reflect.internal.Types$TypeError: variable data in class Sparse cannot be accessed in Sparse[Int]
+t4541.scala:11: error: variable data in class Sparse cannot be accessed in Sparse[Int]
Access to protected method data not permitted because
prefix type Sparse[Int] does not conform to
class Sparse$mcI$sp where the access take place
that.data
^
-one error found \ No newline at end of file
+one error found