summaryrefslogtreecommitdiff
path: root/test/files/neg/t4417.check
blob: 0a5ea2265b3f27562ffcc31991564474a80db9e5 (plain) (blame)
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