aboutsummaryrefslogtreecommitdiff
path: root/tests/run/unittest_collection.scala
Commit message (Collapse)AuthorAgeFilesLines
* Restored full testMartin Odersky2015-06-261-5/+5
| | | | Uncommented parts that were left accidentally commented out when debugging.
* Fix erasure of Thistypes.Martin Odersky2015-06-261-0/+58
Thistypes erased to the underlying class. This is wrong. When seen as part of some other type, a ThisType has to erase to the erasure of the underlying type (i.e. the erasure if the selftype of the class). unittest-collections.scala failed with a MethodNotFound error because the erasure was computed incorrectly. On the other hand, a tree with a ThisType type, should keep the type, analogous to a tree with a TermRef type.