Skip to content

Conversation

@gaaclarke
Copy link
Member

@gaaclarke gaaclarke commented Feb 8, 2022

The hack we did previously to shadow the main entrypoint wasn't working on release builds. Now that Dart supports the --source flag we can avoid shadowing main which fixes the issue and is a more clear solution.

fixes #91841

companion engine pr: flutter/engine#31418

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@flutter-dashboard flutter-dashboard bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Feb 8, 2022
@gaaclarke gaaclarke force-pushed the use-source-dart-registrant branch from 11dd2ab to 30972d7 Compare February 9, 2022 18:05
@gaaclarke

This comment was marked as outdated.

@gaaclarke

This comment was marked as outdated.

@gaaclarke

This comment was marked as outdated.

@gaaclarke

This comment was marked as outdated.

@gaaclarke

This comment was marked as outdated.

@gaaclarke

This comment was marked as outdated.

@gaaclarke

This comment was marked as outdated.

@gaaclarke gaaclarke force-pushed the use-source-dart-registrant branch from 2f4c1b8 to e8c4c68 Compare February 10, 2022 01:20
@gaaclarke

This comment was marked as outdated.

@gaaclarke gaaclarke force-pushed the use-source-dart-registrant branch 11 times, most recently from 4bc3b73 to 3499ec3 Compare February 11, 2022 19:31
@gaaclarke

This comment was marked as outdated.

@gaaclarke

This comment was marked as outdated.

@gaaclarke gaaclarke force-pushed the use-source-dart-registrant branch from 468b1cc to 989ebd7 Compare February 14, 2022 18:16
@flutter-dashboard flutter-dashboard bot added the c: contributor-productivity Team-specific productivity, code health, technical debt. label Feb 14, 2022
@gaaclarke
Copy link
Member Author

Mac dart_plugin_registry_test will fail until the engine PR lands.

engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 12, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 14, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 14, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 14, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 14, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 14, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 14, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 14, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 14, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 14, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 14, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 14, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 14, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 14, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 14, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 14, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 15, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 15, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 15, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 15, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 15, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 15, 2022
gaaclarke added a commit to gaaclarke/flutter that referenced this pull request Mar 21, 2022
gaaclarke added a commit to gaaclarke/flutter that referenced this pull request Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: contributor-productivity Team-specific productivity, code health, technical debt. tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiple entry-points in same Dart file is broken

3 participants