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
dart2js not able to analyze code with "dart-ext:XXX" imports #10616
Comments
Added this to the Later milestone. |
Added TriageForM5 label. |
Removed TriageForM5 label. |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
This comment was originally written by osstek...@gmail.com Docgen and other programs still rendered un-useable due to this issue. Could/should have ignored the statement, or issued a warning, or maybe treat it as a comment and moved on temporarily until a permanent solution. A year and a half and still no patch? really? |
Set owner to @johnniwinther. |
Added Started label. |
Fixed by https://codereview.chromium.org/745533002/ Added Fixed label. |
When using native C extensions dart2js is not able to analyze an application. Instead it will abort as soon as it sees a "dart-ext:XXX" import.
This prevents us from using dart2js as an analyzer. Maybe it should just print out a warning if dart2js is in "analyze only" mode.
~/golem4 $ ~/dart/sdk/bin/dart2js --analyze-all --categories=all tools/scheduler.dart
tools/sha256_ext/sha256_ext.dart:5:8: Illegal argument(s): Unknown scheme in uri 'dart-ext:sha256_ext'
import "dart-ext:sha256_ext";
^^^^^^^^^^^^^^^^^^^^^
Error: Compilation failed.
The text was updated successfully, but these errors were encountered: