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

Invalid URI created when parsing io library #1736

Closed
bwilkerson opened this issue Feb 17, 2012 · 5 comments
Closed

Invalid URI created when parsing io library #1736

bwilkerson opened this issue Feb 17, 2012 · 5 comments
Assignees
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. closed-as-intended Closed as the reported issue is expected behavior
Milestone

Comments

@bwilkerson
Copy link
Member

If I parse and resolve the dart:io library, then ask the LibraryUnit for its units, ask each unit for its source (unit.getSource()) and ask each source for it's name (source.getName()), I get back an invalid URI of the form "dart://io/io.dart/chunked_stream.dart" (note the insertion of "io.dart" in the path). We had this problem once before and it was fixed, but appears to be back again. I'll be happy to help debug this in any way, but don't know where to start.

@sethladd
Copy link
Contributor

Added Triaged label.

@keertip
Copy link
Contributor

keertip commented Feb 22, 2012

Marked this as blocking #1759.

@kasperl
Copy link

kasperl commented Apr 17, 2012

Removed Area-Compiler label.
Added Area-Analyzer label.

@danrubel
Copy link

danrubel commented Jun 4, 2012

Added this to the M1 milestone.
Marked this as blocking #1759.
Unmarked this as blocking #-1759.

@scheglov
Copy link
Contributor

I think Source.getName() can return just anything, it has no promise of any specific structure of returned String. There is separate Source.getUri() method.


cc @bwilkerson.
Set owner to @scheglov.
Added AsDesigned label.

@bwilkerson bwilkerson added Type-Defect area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. closed-as-intended Closed as the reported issue is expected behavior labels Jun 19, 2012
@bwilkerson bwilkerson added this to the M1 milestone Jun 19, 2012
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. closed-as-intended Closed as the reported issue is expected behavior
Projects
None yet
Development

No branches or pull requests

6 participants