Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@srujzs
Copy link
Contributor

@srujzs srujzs commented Nov 9, 2023

JS types are going to become extension types and as such, @staticInterop types cannot implement these types. When we migrate these classes to extension types, we can add back the subtyping.

Enables dart-lang/sdk#52687.

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie or stuartmorgan on the #hackers channel in Chat (don't just cc them here, they won't see it! Use Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@github-actions github-actions bot added the platform-web Code specifically for the web engine label Nov 9, 2023
@srujzs srujzs force-pushed the removeimplementsjstypes branch 2 times, most recently from 0483854 to 73fab11 Compare November 9, 2023 23:05
JS types are going to become extension types and as such,
@staticInterop types cannot implement these types. When we
migrate these classes to extension types, we can add back the
subtyping.
@srujzs srujzs force-pushed the removeimplementsjstypes branch from 73fab11 to f9d9ecf Compare November 9, 2023 23:20
@srujzs
Copy link
Contributor Author

srujzs commented Nov 10, 2023

Sorry to make the code uglier here, but there's a bit of pain to get through so we can move forward to extension types.

Copy link
Contributor

@mdebbar mdebbar left a comment

Choose a reason for hiding this comment

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

😢

@srujzs srujzs merged commit b020893 into flutter:main Nov 10, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

platform-web Code specifically for the web engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants