blob: fc152cb3b1ee23bcf96ea3d22d961265fa249eb6 (
plain) (
blame)
1
2
3
4
5
|
override.scala:9: error: overriding type T in trait A with bounds >: Int <: Int;
type T in trait B with bounds >: String <: String has incompatible type
lazy val x : A with B = x
^
one error found
|