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





                                                                                                        
               
t4417.scala:11: error: constructor Pixel$mcD$sp in class Pixel$mcD$sp cannot be accessed in object Pixel
 Access to protected constructor Pixel$mcD$sp not permitted because
 enclosing object Pixel is not a subclass of 
 class Pixel$mcD$sp where target is defined
  def apply(v: Double): Pixel1d = new Pixel1d(v)
                                  ^
one error found