Skip to content
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

[web] Cleanup assertionsEnabled #41829

Merged
merged 7 commits into from May 24, 2023
Merged

Conversation

mdebbar
Copy link
Contributor

@mdebbar mdebbar commented May 8, 2023

For consistency with the rest of the flutter code, this PR explores the possibility of removing our proprietary assertionsEnabled.

@flutter-dashboard flutter-dashboard bot added the platform-web Code specifically for the web engine label May 8, 2023
Copy link
Contributor

@yjbanov yjbanov left a comment

Choose a reason for hiding this comment

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

lgtm

// TODO: @yjbanov what's the purpose of this? It's always true.
assert(refCount == debugReferrers.length);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@yjbanov, a question for you :)

During construction, refCount is initialized to 1 and debugReferrers is initialized to an empty set then one item is added.

@mdebbar mdebbar force-pushed the assertionsEnabled branch 2 times, most recently from 2655629 to f759f87 Compare May 15, 2023 14:22
@mdebbar mdebbar marked this pull request as ready for review May 23, 2023 15:31
@mdebbar mdebbar added the autosubmit Merge PR when tree becomes green via auto submit App label May 24, 2023
@auto-submit auto-submit bot merged commit 59a5563 into flutter:main May 24, 2023
26 checks passed
@mdebbar mdebbar deleted the assertionsEnabled branch June 22, 2023 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App platform-web Code specifically for the web engine
Projects
None yet
2 participants