Skip to content

Use list-package-dirs rather than symlinks in the analyzer #19742

Closed
@nex3

Description

@nex3

Pub is planning on no longer producing package symlinks (issue #15103), but currently the analyzer relies on these symlinks to resolve "package:" imports. Ultimately it would be good for the analyzer to look up packages through barback, but until then it should use "pub list-package-dirs" to find the dependency paths so pub can safely cease producing symlinks.

Metadata

Metadata

Assignees

Labels

devexp-commandIssues with the command-line dartanalyzer toollegacy-area-analyzerUse area-devexp instead.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions