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

                                                                         
                                                             
       
               
t856.scala:3: error: class ComplexRect needs to be abstract, since:
method _2 in trait Product2 of type => Double is not defined
method canEqual in trait Equals of type (that: Any)Boolean is not defined
class ComplexRect(val _1:Double, _2:Double) extends Complex {
      ^
one error found