aboutsummaryrefslogtreecommitdiff
path: root/tests/run/colltest6
Commit message (Collapse)AuthorAgeFilesLines
* Add missing importMartin Odersky2016-07-311-0/+1
|
* Fix problem with IndexedView.iterator.lengthMartin Odersky2016-07-311-4/+3
|
* More systematic treatement of IndexedViewMartin Odersky2016-07-301-26/+61
| | | | | Followinf @szeiger's suggestion, equip IndexView with optimized operations for map/drop/take.
* Drop on LinearSeq needs to return collection of same type as it was called on.Martin Odersky2016-07-291-8/+38
| | | | This is achieved by putting it into a new trait, LinearSeqLike.
* Tweaks to strawmanMartin Odersky2016-07-282-92/+112
| | | | | | | - Add proper :: to lists - Move some methods to IterableOps in order to keep Iterable clean - Rename knownLength to knownSize - Add some implentations for performance and completeness
* Make colltest6 self-containedMartin Odersky2016-07-272-1/+2
| | | | Following the other colltests, put each in a separate package.
* Fix problem related to cbn parameters in supercallsMartin Odersky2016-07-271-5/+5
| | | | | | | | | | | The closures generated by elimByName did not get the InSuperCall flag set. This caused problems in lambda lift which led to a verify error for the new version CollectionStrawMan6. That version replaces explicit function parameters in class LazyList by by-name parameters. Also: Clarify logic for liftLocals in LambdaLift (liftLocals caused the immediate problem but was in the end not to blame).
* Rename fromLikeIterable -> fromIterableWithSameElemTypeMartin Odersky2016-07-271-12/+12
| | | | Makes it clearer what it is. Also, fixed check file.
* Improve dropMartin Odersky2016-07-271-10/+3
| | | | | By making LinearSeq an IterableLike, we can use tail-recursion on drop.
* Further extension with LazyListMartin Odersky2016-07-262-105/+562
| | | | | Demonstrates how to integrate lazy non-view collections in the framework.
* Add arrays to collection strawmanMartin Odersky2016-07-252-0/+810
This PR investigates what it takes to extend CollectionStrawMan5 to arrays.