Skip to content

DEPRECATED_MEMBER_USE should flag deprecated exports #49148

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

Closed
pq opened this issue May 31, 2022 · 2 comments
Closed

DEPRECATED_MEMBER_USE should flag deprecated exports #49148

pq opened this issue May 31, 2022 · 2 comments
Labels
devexp-warning Issues with the analyzer's Warning codes legacy-area-analyzer Use area-devexp instead. P3 A lower priority bug or feature request type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@pq
Copy link
Member

pq commented May 31, 2022

p.dart:

library p;

@deprecated
export 'package:test_api/expect.dart' show expect;

my_test.dart:

import 'p.dart'; 

void main() {
  expect(true, true); // EXPECTED diagnostic
}

/fyi @bwilkerson @keertip

@pq pq added legacy-area-analyzer Use area-devexp instead. P3 A lower priority bug or feature request devexp-warning Issues with the analyzer's Warning codes type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) labels May 31, 2022
@lrhn
Copy link
Member

lrhn commented May 31, 2022

Duplicate of #23067?

@pq
Copy link
Member Author

pq commented May 31, 2022

Ah, yes. Perfect. Thanks!

@pq pq closed this as completed May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devexp-warning Issues with the analyzer's Warning codes legacy-area-analyzer Use area-devexp instead. P3 A lower priority bug or feature request type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

2 participants