-
Notifications
You must be signed in to change notification settings - Fork 28.6k
sky_engine reexports dart libraries that have missing _embedder.yaml mappings #54793
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
Comments
I believe the reason this works is because |
@jonahwilliams @devoncarew That makes sense. Though, why is |
Flutter and Flutter for Web are different platforms with different available sets of dart SDK libraries. dart:html was added to sky engine because the web team wants web plugin authors to be able to get analysis results. There is more context in #39998 |
Thanks. From reading this my general approach will be to continue to ignore and/or bypass analysis errors generated from sky_engine in dartdoc, and I'll follow up in #39998 if need be. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Uh oh!
There was an error while loading. Please reload this page.
@Hixie @stereotype441
I first saw this while debugging dart-lang/dartdoc#2143. The example I found is in
dart:html
, whose source code is copied directly from: https://github.com/dart-lang/sdk/blob/master/sdk/lib/html/dart2js/html_dart2js.dart. It reexportspromiseToFuture
fromdart:html_common
, which isn't available in sky_engine.I do not understand how Flutter can possibly work under these conditions (Why are there no compilation errors? Why are all analysis errors here always squelched?) but it clearly does.... so I'm filing this issue in part to ask:
For example, a combination of factors tend to result in dartdoc and the analyzer ignoring this under most circumstances and just silently hiding things. You'll notice that in the documentation for
dart:html
at https://api.dart.dev/dev/2.8.0-dev.20.0/dart-html/dart-html-library.html includespromiseToFuture
, but https://api.flutter.dev/flutter/dart-html/dart-html-library.html does not.The text was updated successfully, but these errors were encountered: