-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First steps towards rewriting from Scala2 in dotty #1154
Commits on Mar 12, 2016
-
Add patching functionality for migration
Firs version of patching that can be invoked by dotty compiler itself.
Configuration menu - View commit details
-
Copy full SHA for c43ae4a - Browse repository at this point
Copy the full SHA c43ae4aView commit details -
Driver should not know that patch functionality exists. Instead, introduce settings that can introduce their own stateful values.
Configuration menu - View commit details
-
Copy full SHA for c1e263b - Browse repository at this point
Copy the full SHA c1e263bView commit details -
No more leaking ofMove PatchedFiles in a settings option. Move all patch classes into a `Rewrites` object.
Configuration menu - View commit details
-
Copy full SHA for 12d8955 - Browse repository at this point
Copy the full SHA 12d8955View commit details -
Add functionality to navigate ASTs
Map typed to corresponding untyped trees.
Configuration menu - View commit details
-
Copy full SHA for ad483d8 - Browse repository at this point
Copy the full SHA ad483d8View commit details -
Test language features always in phase typer.
Imports are missing afterwards.
Configuration menu - View commit details
-
Copy full SHA for 2ff667a - Browse repository at this point
Copy the full SHA 2ff667aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec90a19 - Browse repository at this point
Copy the full SHA ec90a19View commit details -
Fix desugaring of lazy patterns.
Selectors should be defs, not lazy vals.
Configuration menu - View commit details
-
Copy full SHA for 54f6399 - Browse repository at this point
Copy the full SHA 54f6399View commit details -
Configuration menu - View commit details
-
Copy full SHA for 420878d - Browse repository at this point
Copy the full SHA 420878dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 294d21f - Browse repository at this point
Copy the full SHA 294d21fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d822b1e - Browse repository at this point
Copy the full SHA d822b1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e61cd1b - Browse repository at this point
Copy the full SHA e61cd1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8881a98 - Browse repository at this point
Copy the full SHA 8881a98View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbc06d9 - Browse repository at this point
Copy the full SHA dbc06d9View commit details -
Disable volatile interpretation of lazy vals under -language:Scala2
Revert this commit once scala#1149 is fixed.
Configuration menu - View commit details
-
Copy full SHA for a378a46 - Browse repository at this point
Copy the full SHA a378a46View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1814a0 - Browse repository at this point
Copy the full SHA c1814a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4db804b - Browse repository at this point
Copy the full SHA 4db804bView commit details -
Scala2 allows `x _` even if `x` is not a method. Dotty disallows them. The patch removes the ` _` in these cases.
Configuration menu - View commit details
-
Copy full SHA for 919f268 - Browse repository at this point
Copy the full SHA 919f268View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87b30c9 - Browse repository at this point
Copy the full SHA 87b30c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d24e10c - Browse repository at this point
Copy the full SHA d24e10cView commit details -
Gave overlapping positions in the case of longer lists of children.
Configuration menu - View commit details
-
Copy full SHA for c0927cf - Browse repository at this point
Copy the full SHA c0927cfView commit details -
`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.
Configuration menu - View commit details
-
Copy full SHA for 6ddc911 - Browse repository at this point
Copy the full SHA 6ddc911View commit details -
Configuration menu - View commit details
-
Copy full SHA for bde5e4d - Browse repository at this point
Copy the full SHA bde5e4dView commit details -
Fix patch for constructors with procedure syntax
A constructor def this() { ... } needs to be rewritten to def this() = { ... } not to def this(): Unit = { ... }
Configuration menu - View commit details
-
Copy full SHA for 13a376c - Browse repository at this point
Copy the full SHA 13a376cView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 13e3d59 - Browse repository at this point
Copy the full SHA 13e3d59View commit details
Commits on Mar 14, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 6c18e37 - Browse repository at this point
Copy the full SHA 6c18e37View commit details