summaryrefslogblamecommitdiff
path: root/test/files/neg/t0152.check
blob: a7909bf14d4d05840eb05b3fccff4628c8bf8f28 (plain) (tree)
1
2
3
4
5
6

                                                              
                            
                                                                

               
t0152.scala:10: error: illegal inheritance;
 object boom inherits different type instances of class Value:
Value[Int] and Value[String]
 object boom extends Value[java.lang.String]("foo") with PlusOne
        ^
one error found