summaryrefslogblamecommitdiff
path: root/test/files/neg/t4417.check
blob: dfc9feca249b66ef8ed84fca3b8010f20c6e94bc (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