summaryrefslogtreecommitdiff
path: root/test/files/neg/valueclasses-pavlov.check
Commit message (Collapse)AuthorAgeFilesLines
* Generalize OverridingPairs to SymbolPairs.Paul Phillips2013-10-051-2/+2
| | | | | | | | | | | | | | | | | Increases your chance of knowing what is going on in OverridingPairs. Introduces some new abstractions which I hope for your own sakes you will put to use in some way: RelativeTo: operations relative to a prefix SymbolPair: two symbols being compared for something, and the enclosing class where the comparison is being performed Fixed a minor bug with access by accident by way of more principled pair analysis. See run/private-override.scala. Upgraded the error message issued on certain conflicts to give the line numbers of both conflicting methods, as opposed to just one and you go hunting.
* Value classes: eliminated half-boxingMartin Odersky2012-09-201-0/+7
We now apply erasure of value classes everywhere. previously, erasure was disabled in the value class itself. This led to irregegularities and bugs. See test run/valueclasses-pavlov.scala for something that led to a ClassCastException before.