aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/equality.scala
Commit message (Collapse)AuthorAgeFilesLines
* Add Eq instances of standard types to PredefMartin Odersky2016-05-231-1/+10
| | | | | | | | | To make tests pass, this required a looser specification of `assumedCanEquals`, so that an abstract type T can be compared to arbitrary values, as long as its upper bound can be compared. E.g. T == null T == "abc"
* Add Java types to equality testMartin Odersky2016-05-231-0/+21
|
* Make Eq contravariantMartin Odersky2016-05-231-5/+4
| | | | (and add it to commit set).
* Test caseMartin Odersky2016-05-231-0/+80