diff options
Diffstat (limited to 'test/files/neg/t856.check')
-rw-r--r-- | test/files/neg/t856.check | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t856.check b/test/files/neg/t856.check new file mode 100644 index 0000000000..d0bbde6c58 --- /dev/null +++ b/test/files/neg/t856.check @@ -0,0 +1,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 |