Skip to content

Reference dart-lang/sdk#61464 on deprecated_web_configuration ignores - #195931

Merged
auto-submit[bot] merged 1 commit into
flutter:masterfrom
kevmoo:deprecated-web-config-todo
Nov 5, 2026
Merged

auto-submit[bot] merged 1 commit into
flutter:masterfrom
kevmoo:deprecated-web-config-todo

Conversation

@kevmoo

@kevmoo kevmoo commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Annotate the // ignore: deprecated_web_configuration conditional imports added in #184130 and the corresponding sdk_rewriter.dart rule with dart-lang/sdk#61464 so they can be migrated to if (dart.tool.dart2wasm) once that SDK feature lands.

Also adds a test case in sdk_rewriter_test.dart verifying that sdk_rewriter.dart strips // ignore: deprecated_web_configuration comment lines preceding conditional imports in part files.

Related issues:

Pre-launch Checklist

Annotate the `// ignore: deprecated_web_configuration` conditional
imports added in flutter#184130 and the corresponding `sdk_rewriter.dart`
entry with dart-lang/sdk#61464 so they can be
migrated to `if (dart.tool.dart2wasm)` once that SDK feature lands.

Also adds a test case in `sdk_rewriter_test.dart` verifying that
`sdk_rewriter.dart` strips `// ignore: deprecated_web_configuration`
comment lines preceding conditional imports in part files.
@kevmoo
kevmoo requested a review from srujzs November 3, 2026 21:58
@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Nov 3, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds references to Dart SDK issue #61464 across several files. Specifically, it updates the 'deprecated_web_configuration' ignore comments in renderer.dart, utils.dart, and sdk_rewriter_test.dart to include the issue link, and adds a TODO comment in sdk_rewriter.dart regarding the migration to dart.tool.dart2wasm. There are no review comments, and I have no feedback to provide.

@github-actions github-actions Bot added engine flutter/engine related. See also e: labels. platform-web Web applications specifically team-web Owned by Web platform team labels Nov 3, 2026
@kevmoo kevmoo added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 4, 2026
@auto-submit
auto-submit Bot added this pull request to the merge queue Nov 5, 2026
Merged via the queue into flutter:master with commit 382e0a5 Nov 5, 2026
27 of 28 checks passed
@flutter-dashboard flutter-dashboard Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Nov 5, 2026
@kevmoo
kevmoo deleted the deprecated-web-config-todo branch November 5, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CICD Run CI/CD engine flutter/engine related. See also e: labels. platform-web Web applications specifically team-web Owned by Web platform team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants