summaryrefslogblamecommitdiff
path: root/test/files/neg/override.check
blob: 0336fb2b11b7f623e4a1b78a14f1ce15c328ecef (plain) (tree)
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