Closed
Description
Self-references are not properly encoded. They point to the pubcache rather than the local source.
For example, given a package foo
, the .packages
reference will look something like this:
foo:file:///Users/somebody/.pub-cache/hosted/pub.dartlang.org/foo-0.0.1/lib/
whereas it should look more like:
foo:file:///Users/somebody/src/dart/pkg/foo/lib/
(Note that pub symlinks do this special-casing. Which is to say we just need to get the .packages
file URIs to agree with pub's symlink prior art.)
In the current state URI resolution for self-references in analyzer
all fail.