aboutsummaryrefslogtreecommitdiff
path: root/tests/pos-scala2/rewrites.scala
Commit message (Collapse)AuthorAgeFilesLines
* Fix two rewrite patches.Martin Odersky2016-03-121-0/+1
| | | | | | | | | | | 1. trailing `_`: `x _` is rewritten to `(() => x)` not to `x` 2. lazy vals: Rewrites are done in Typer, not LazyVals. Later on we are too much at risk to hit synthetically generated lazy vals.
* Add patch for variance errorsMartin Odersky2016-03-121-0/+6
|
* Rewrite testMartin Odersky2016-03-121-0/+29
Test rewritings that were implemented so far.