Skip to content

Modify JS object check for static interop #1438

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

Merged
merged 1 commit into from
Nov 2, 2021
Merged

Conversation

srujzs
Copy link
Contributor

@srujzs srujzs commented Oct 28, 2021

Static interop changes reorganize the type hierarchy such that interop objects are now reified as "LegacyJavaScriptObject". For more context, see this stack of changes that's in the pipeline: https://dart-review.googlesource.com/c/sdk/+/215949 (the relevant bits are in sdk/lib/_internal/js_dev_runtime/private/interceptors.dart).

Static interop changes reorganize the type hierarchy such that interop
objects are now reified as "LegacyJavaScriptObject".
@google-cla google-cla bot added the cla: yes label Oct 28, 2021
@srujzs srujzs marked this pull request as ready for review October 28, 2021 23:41
@srujzs srujzs requested a review from annagrin October 29, 2021 22:10
@srujzs srujzs self-assigned this Oct 29, 2021
Copy link
Contributor

@annagrin annagrin left a comment

Choose a reason for hiding this comment

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

Do we have test for this?

@srujzs
Copy link
Contributor Author

srujzs commented Nov 2, 2021

Can confirm that this passes expression_evaluation_web_test.dart in the Flutter repo with and without the associated Dart SDK changes.

@srujzs srujzs merged commit 29c2613 into dart-lang:master Nov 2, 2021
elliette pushed a commit to elliette/webdev that referenced this pull request Nov 23, 2021
Static interop changes reorganize the type hierarchy such that interop
objects are now reified as "LegacyJavaScriptObject".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants