Closed
Description
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