-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[CP] Please cherry-pick cc80ccfaa0b66a89a04cd07081d9f42bcf3d2bcf to stable #50415
Comments
@annagrin to solve for creating two cherry-pick issues, we can add the second commit hash to this issue in the |
@a-siva @vsmenon @johnniwinther @athomas @devoncarew @sigmundch could you all take a look at this cherry-pick request? |
lgtm - thanks for the fix, Anna! |
lgtm |
lgtm |
1 similar comment
lgtm |
Approving. |
Generate calls to super class methods from mixin application stubs using `super` instead of `this`. Bug: #50119 Change-Id: I02802ea828d72d9221f1886195acb91e6c9520ac Cherry-pick: https://dart-review.googlesource.com/c/sdk/+/267822 Fixed:#50415 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/268604 Reviewed-by: Sigmund Cherem <[email protected]> Reviewed-by: Joshua Litt <[email protected]>
This fix was landed on stable as https://dart.googlesource.com/sdk/+/657d2c945c6e5518ace546ff70803155e9b45f31 and was released in stable 2.18.5 |
Commit(s) to merge
cc80ccf
Target
beta, stable
Prepared changelist for beta/stable
https://dart-review.git.corp.google.com/c/sdk/+/268604
Issue Description
Issue
Defining a mixin application in a separate library from the mixin declaration with a private field caused stack overflow during execution.
Platforms
web
What is the fix
The issue was caused by and optimization using
this
to implement calls tosuper
for non-overriden private accessors.The fix is to disable the optimization inside the bodies of mixin application accessor stubs.
Why cherry-pick
The issue has caused crashes for users of
package:riverpod/riverpod.dart
:Original issue: rrousselGit/riverpod#1713
Risk
low
Issue link(s)
#50119
Extra Info
No response
The text was updated successfully, but these errors were encountered: