aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t1236.scala
Commit message (Collapse)AuthorAgeFilesLines
* 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 t1236: higher-kindedMartin Odersky2014-03-211-0/+14
(and also of t0625, which reappeared). Several fixes were made. In summary: 1. Naming and representation of KigherKinded traits changed. It's now $HigherKinded$NIP where the letters after the second $ indicate variance (N)egative, (I)nvariant, (P)ositive. The HKtraits themselves are always non-variant in their parameters. 2. When deriving refined types over higher-kinded types, the variance of a type alias is the variance of the new type constructor. 3. isSubTypeHK was changed, as was the position from where it is called. 4. appliedTo also works for PolyTypes.