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

Some fixes for dart2wasm #38167

Merged
merged 5 commits into from
Dec 13, 2022
Merged

Conversation

eyebrowsoffire
Copy link
Contributor

No description provided.

@flutter-dashboard flutter-dashboard bot added the platform-web Code specifically for the web engine label Dec 9, 2022
@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 on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on 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.

@eyebrowsoffire eyebrowsoffire marked this pull request as draft December 9, 2022 23:06
@eyebrowsoffire eyebrowsoffire marked this pull request as ready for review December 12, 2022 23:20
@@ -176,9 +176,9 @@ class ColorSpace {}
@staticInterop
class SkWebGLContextOptions {
external factory SkWebGLContextOptions({
required int antialias,
required double antialias,
Copy link
Contributor

@joshualitt joshualitt Dec 13, 2022

Choose a reason for hiding this comment

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

This really shouldn't be necessary, but doesn't seem harmful. If I have a chance I'll try and get it working.


/// Type-safe JS Promises
@JS('Promise')
@staticInterop
abstract class Promise<T> {
abstract class Promise<T extends Object?> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Are any of these type parameters really adding value? It might make sense just to take Object values.

@Hixie
Copy link
Contributor

Hixie commented Dec 13, 2022

test-exempt: wasm compatibility

@eyebrowsoffire eyebrowsoffire added autosubmit Merge PR when tree becomes green via auto submit App and removed needs tests labels Dec 13, 2022
@eyebrowsoffire eyebrowsoffire merged commit cda2be8 into flutter:main Dec 13, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 14, 2022
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Dec 14, 2022
…117031)

* cda2be86e Some fixes for dart2wasm (flutter/engine#38167)

* 14194c40e Roll Fuchsia Mac SDK from Cd_ZtrDVcpQ85HRL3... to FQQdl8AGAsALFniHl... (flutter/engine#38269)
loic-sharma pushed a commit to loic-sharma/flutter-engine that referenced this pull request Dec 16, 2022
* A few fixes to get things compiling via dart2wasm.

* Use `futureToPromise`.

* Some more fixes for dart2wasm.

* Allow promises to have nullable objects.
loic-sharma pushed a commit to loic-sharma/flutter-engine that referenced this pull request Jan 3, 2023
* A few fixes to get things compiling via dart2wasm.

* Use `futureToPromise`.

* Some more fixes for dart2wasm.

* Allow promises to have nullable objects.
gspencergoog pushed a commit to gspencergoog/flutter that referenced this pull request Jan 19, 2023
…lutter#117031)

* cda2be86e Some fixes for dart2wasm (flutter/engine#38167)

* 14194c40e Roll Fuchsia Mac SDK from Cd_ZtrDVcpQ85HRL3... to FQQdl8AGAsALFniHl... (flutter/engine#38269)
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
Development

Successfully merging this pull request may close these issues.

4 participants