aboutsummaryrefslogtreecommitdiff
path: root/tests/run/colltest5
Commit message (Collapse)AuthorAgeFilesLines
* Fix colltest5 test under separate compilationGuillaume Martres2016-07-272-1/+2
| | | | | | | | | | | | | | | | | | | | | | This test failed before because strawman.collections.CollectionStrawMan5 is defined in two places: - src/strawman/collections/CollectionStrawMan5.scala - tests/run/colltest5/CollectionStrawMan5_1.scala The first will be compiled by scalac (unless the tests are run through a bootstrapped dotty) and the second will be compiled by dotty, the value class encoding of scalac and dotty are not binary compatible. This would not be a problem if we always used the `CollectionStrawMan5` coming from the partest output directory and ignored the one in the dotty sources, but which one gets picked depends on the classpath and whether compilation is joined or separate, see #1301. For now, it's safer and simpler to just avoid having tests which define a class that is also defined in the sources of dotty. Also, fix a bug in colltest4 where it was importing CollectionStrawMan5 instead of CollectionStrawMan4
* Updates of strawmanMartin Odersky2016-04-172-46/+52
| | | | | Bring strawman-4 and strawman-5 to feature-parity. Test also strawman-4.
* Drop type annotation in collection testMartin Odersky2016-04-161-1/+1
|
* New testsMartin Odersky2016-04-152-0/+679
New CollectionStrawMan5, executed as runttest in two different ways: - built with scalac, test compiled by dotty in tests/run. - built with dotty, test compiled by dotty using separate compilation.