summaryrefslogblamecommitdiff
path: root/test/files/neg/t0152.check
blob: 84f78dc83cb3477abb36a7b963258db1e0bd8b7e (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[java.lang.String]
 object boom extends Value[java.lang.String]("foo") with PlusOne
        ^
one error found