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

Updating Chrome Proxy Service tests to avoid manually invoking generic Dart constructors. #2477

Merged
merged 4 commits into from
Aug 13, 2024

Conversation

Markzipan
Copy link
Contributor

This fixes breakages from an incoming change to update how DDC represents generic types.

The old code here was manually invoking Dart constructors from JS; this broke when we changed their APIs to accept an RTI. The new scheme evals a top-level object (initialized with the correct state).

Old breaks: https://github.com/dart-lang/webdev/actions/runs/10285790803/job/28464927549

Copy link
Contributor

@nshahan nshahan left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for putting a fix together.

@Markzipan Markzipan merged commit a995a59 into dart-lang:main Aug 13, 2024
46 of 47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants