Skip to content

Add support for moving symbols across packages with dart fix #48997

Closed
@natebosch

Description

@natebosch

Possibly a duplicate of #44892, or may also be considered an extension.

We'd like to move some members across packages, and stop exporting others. The user visible changes is that where they previously had a single import to package:test/test.dart they will now also need a dependency on package:matcher/expect.dart as well as an extra pubspec dependency.

If we can't target the diagnostic about the undefined name for the fix we would be OK with a migration where we mark the exports as deprecated for a while so that the fixes can be applied. We'd need support for deprecating exports in that case. #23067

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work ondevexp-bulk-fixdevexp-quick-fixIssues with analysis server (quick) fixeslegacy-area-analyzerUse area-devexp instead.type-enhancementA request for a change that isn't a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions