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






                                                                                                                                         
t4541b.scala:13: error: scala.reflect.internal.Types$TypeError: variable data in class SparseArray cannot be accessed in SparseArray[Int]
 Access to protected method data not permitted because
 prefix type SparseArray[Int] does not conform to
 class SparseArray$mcI$sp where the access take place
    use(that.data.clone)
             ^
one error found