summaryrefslogtreecommitdiff
path: root/test/files/neg/t4417.scala
blob: 3f6ddc81537c5ae307c519619517170e1faa566d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class Pixel[@specialized T] protected (var v: T)


object Pixel {
  type Pixel1d = Pixel[Double]

  def apply(v: Double): Pixel1d = new Pixel1d(v)
}