summaryrefslogblamecommitdiff
path: root/test/files/neg/bug856.check
blob: 3ab4ce6c708f2a4ed6637fe9cbc8243f237b6830 (plain) (tree)
1
2
3
4
                                                                                                                                 
                                                             
       
               
bug856.scala:3: error: class ComplexRect needs to be abstract, since method _2 in trait Product2 of type => double is not defined
class ComplexRect(val _1:double, _2:double) extends Complex {
      ^
one error found