aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/collections.scala
Commit message (Collapse)AuthorAgeFilesLines
* Disallow existentially bound parameters as type parametersMartin Odersky2015-12-061-1/+1
| | | | | | | Done in order to keep the basics as simple as possible. Treating existentially bound parameters as still instantiatable type parameters does not seem to add anything fundamental, and makes the type system less regular.
* Handling higher-kinded types with lambdasMartin Odersky2014-06-181-1/+1
| | | | | Switch to the new scheme where higher-kinded types (and also some polymorphic type aliases) are represented as instances of Lambda traits.
* Fix of Fix of t1236: higher-kindedMartin Odersky2014-03-211-8/+11
| | | | | | Fix of d6df293d2120f2247198cb6646a23c338f7dcbbf. It turned out the original commit was faulty in that iterator.flatten did not typecheck. The problem is fixed in this commit and flatten is added to the collections test.
* Fix problems with TypeVar instantiationMartin Odersky2014-02-031-0/+3
| | | | | 1) Simplify skipped one level over arguments of AndType/OrType. 2) variances needs to follow instantiated typevars
* Handling implicit unapply arguments.Martin Odersky2013-12-201-0/+8
| | | | Changed format of UnApply nodes to also take implicit parameters. See doc comment in class Trees.UnApply
* Fixes to desugaring of for-expressions with embedded aliases.Martin Odersky2013-12-081-0/+3
|
* Some configuation parametersMartin Odersky2013-11-141-1/+3
| | | | Caching, plus whether we want to match on signatures or types.
* Fixed unpickling of polymorphic constructors.Martin Odersky2013-10-271-0/+1
| | | | Constructors of parameterized classes now get polymorphic types when unpickled, as is the case when defining them or when reading them from a Java classfile. This caused a ripple of other faults which this commit also fixes.
* New test case: map and filter now seem to work.Martin Odersky2013-10-241-2/+3
|
* Small cleanups, plus a new test case.Martin Odersky2013-10-241-2/+2
| | | | map on collections now works, including associated CanBuildFrom searches.
* Changes to adaptation and local type inference.Martin Odersky2013-10-151-0/+15