You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
flutter -> packages auto-roller is failing #193231
File a dart-lang/sdk bug against bb71ed43a0ab / CL 551900: deprecated_member_use is no longer reported for named arguments of an invocation that error-recovers as static_access_to_instance_member, which breaks data-driven dart fix for deprecated parameters.
@scheglov I don't understand the changes in bb71ed43a0ab well enough to confirm whether or not that is correct. Does it seem possible that bb71ed43a0ab caused the above changes to deprecated_member_use?
As a workaround to unblock the roll, I will update text_fixes/theme_data.dart to use ThemeData.copyWith(useMaterial3: false) .
Hmm I think the real issue here is actually that we have incorrect Dart code in test_fixes/theme_data.dart - every instance of ThemeData.copyWith (example) fails to compile with Instance member 'copyWith' can't be accessed using static access.
I think the real fix here is to replace all the instances of static access copyWith with:
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
elliette commentedon Sep 23, 2026
Hmm I think the real issue here is actually that we have incorrect Dart code in
test_fixes/theme_data.dart- every instance ofThemeData.copyWith(example) fails to compile withInstance member 'copyWith' can't be accessed using static access.I think the real fix here is to replace all the instances of static access
copyWithwith:since it doesn't look like
dart fixis expected to fix those issues.[material_ui] Remove static access of `copyWith` from `dart fix` gold…
github-actions commentedon Oct 8, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.