blob: 639186af4078c5daadaf11fa5d7f53f62726fdff (
plain) (
blame)
1
2
3
4
5
6
7
|
spec-overrides.scala:8: error: Type parameter has to be specialized at least for the same types as in the overridden method. Missing types: Int
override def a[@specialized(Double) T](t: T): List[T] = Nil
^
spec-overrides.scala:12: error: Type parameter has to be specialized at least for the same types as in the overridden method. Missing types: Int
override def a[T](t: T): List[T] = Nil
^
two errors found
|