aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/rewrite
Commit message (Collapse)AuthorAgeFilesLines
* Address reviewer comments.Martin Odersky2016-03-141-19/+12
|
* Fix assert in RewritesMartin Odersky2016-03-121-2/+5
| | | | | | `Iterator.sliding(2, 1)` returns a one-element result if the original iterator contains only one element, which makes it unpleasant to use for our task. Replaced by a fold.
* Better encapsulationMartin Odersky2016-03-122-87/+96
| | | | | No more leaking ofMove PatchedFiles in a settings option. Move all patch classes into a `Rewrites` object.
* Avoid setupMethod in DriverMartin Odersky2016-03-121-16/+6
| | | | | Driver should not know that patch functionality exists. Instead, introduce settings that can introduce their own stateful values.
* Add patching functionality for migrationMartin Odersky2016-03-121-0/+97
Firs version of patching that can be invoked by dotty compiler itself.