summaryrefslogblamecommitdiff
path: root/test/files/neg/t4541.check
blob: c01226685f1caed67fa5a0545289616a93eaef92 (plain) (tree)
1
2
3
4
5
6
7






                                                                                                                              
t4541.scala:11: error: scala.reflect.internal.Types$TypeError: 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