summaryrefslogblamecommitdiff
path: root/test/files/neg/bug987.check
blob: 77e71c9b5ef15130e293b23cabcb824cfbcf9947 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                                         
                                                                  


                 
bug987.scala:15: error: the type intersection B[D] with B[C] is malformed
 --- because ---
no common type instance of base types B[C] and B[D] exists
class E extends D
^
bug987.scala:20: error: illegal cyclic reference involving class E
class F extends D
^
two errors found