blob: 75bb1cd7e20328cfd91ed793e8180920787f35df (
plain) (
tree)
|
|
class C[T]
class D[type T] // error: identifier expected, but `type` found
object Test {
val x: C[T = Int] = // error: ']' expected, but `=` found // error
new C[T = Int] // error: ']' expected, but `=` found // error
class E extends C[T = Int] // error: ']' expected, but `=` found // error
class F extends C[T = Int]() // error: ']' expected, but `=` found // error
}
|