summaryrefslogblamecommitdiff
path: root/test/files/neg/tcpoly_override.scala
blob: f2c3b0441306fe812222011e145625ac8b4532cf (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                            
// bug1231: reported by Vladimir Reshetnikov on 19 July 2007
trait A {
 type T[_]
}

trait B // First-order type

class C extends A {
 type T = B // This compiles well (@M: ... but it shouldn't)
}