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


                                                                         
                                                             
       
               
bug856.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