summaryrefslogblamecommitdiff
path: root/test/files/neg/t8892.check
blob: 5930be58c5e145518128b21d5241d793c31cf435 (plain) (tree)
1
2
3
4
5
6
7






                                           
t8892.scala:2: error: type mismatch;
 found   : B
 required: C.this.B
    (which expands to)  String
class C[B](x: B) extends A { def f: B = x }
                                        ^
one error found