[CP][beta channel] Fix crash when developing with DDC #43453
Labels
cherry-pick-approved
Label for approved cherrypick request
cherry-pick-review
Issue that need cherry pick triage to approve
merge-to-beta
commit(s) to merge: 53895b2
merge instructions: clean merge
What is the issue: DDC had an old undiscovered bug. A certain rare code pattern triggers the issue and in that case the app cannot be loaded for development (the code crashes while loading). The pattern involves an inheritance chain that forms a cycle between classes and type parameters.
Recently a Flutter Web app encountered this pattern and started hitting this issue.
What is the fix: A change in DDC to break the cycle in the generated code.
Why cherrypick: We only know of one affected customer, but the result makes the product unusable in that case.
Risk: low, change is relatively small, we'll get a better signal of risk after the next roll to internal customers tomorrow.
Link to original issue(s): flutter/flutter#64011
/cc @kevmoo @mit-mit @whesse @athomas @vsmenon @franklinyow @yjbanov @Markzipan @pcsosinski
The text was updated successfully, but these errors were encountered: