aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t8230a.scala
Commit message (Collapse)AuthorAgeFilesLines
* Revert test to originalMartin Odersky2015-06-231-2/+2
| | | | Uncomment two lines that were commented out by accident.
* Avoid junk produced by Constraint#replace.Martin Odersky2015-06-221-0/+26
There were two instances where a constraint undergoing a replace would still refer to poly params that are no longer bound after the replace. 1. In an ordering the replaced parameters was n ot removed from the bounds of the others. 2. When a parameter refers to the replaced parameter in a type, (not a TypeBounds), the replaced parameter was not replaced. We now have checking in place that in globally committable typer states, TypeVars are not instantiated to PolyParams and (configurable) that constraints of such typer states are always closed. Fixes #670.