-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[Breaking Change Request] Remove support for Analyzer based DDC #38994
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
Comments
@Hixie @matanlurey @dgrove - Please review and approve. |
@devoncarew - it came to my attention that this may affect flutter dartpad as well - I believe you were already aware, but let us know if there is any need to wait or if we can move forward. |
Flutter does not use the analyzer based DDC and should not be affected by this change. |
@domesticmouse, @RedBrogdon - Dartpad is in the middle of moving off of DDC and onto DDK. Brett can better speak to the timing of this. |
At this point I am swamped with unforking flutter web. I think @RedBrogdon is going to have to take point on looking into getting us off of DDC for normal Dart compilation purposes. |
Gotcha. Is there an issue to follow on dart-lang/dart-pad? |
@devoncarew there is now =) |
LGTM in principle, modulo practical short term concerns. |
Closing the loop: Speaking with @RedBrogdon in person we have confirmed the change migrating flutter pad from "DDC" to "DDK" dart-archive/dart-services#467 has been deployed and the tracking issue has been closed dart-lang/dart-pad#1341. I'll prepare a change that includes the deletion, thanks everyone! 😄 |
@nshahan what is the status of this? |
We pushed it back until D28 but it's underway. I have landed the first change that removes the ability to run the analyzer based DDC and stops running our test suite. https://dart-review.googlesource.com/c/sdk/+/127067/12 I have some other changes in progress that will actually delete the source files. |
@nshahan may be have an update please? |
Thanks for following up. The code for analyzer based DDC has been deleted. |
Intended Change
Remove support for running the Analyzer based DDC from versions of the Dart SDK >= 2.7.0.
dartdevc
to use Kernel based DDC and begin ignoring the-k
and--kernel
arguments.Rationale
The Analyzer based DDC is pure technical debt now. None of our supported build systems rely on this implementation and it is unused. It slows down development of the Analyzer team as they must keep it updated when they make breaking API changes.
Expected Impact
The exact number of users affected by this change is unknown but we expect it to be low based on the large groups that we know will not be.
Projects known to break
Projects that will not be affected
Migration Steps
The migration path is simple, update your package to depend on build_web_compilers: ^2.0.0 (the latest as of this writing is v2.7.0).
The text was updated successfully, but these errors were encountered: