Skip to content
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

lint for generic parameters in comments #57550

Closed
harryterkelsen opened this issue Apr 20, 2017 · 3 comments
Closed

lint for generic parameters in comments #57550

harryterkelsen opened this issue Apr 20, 2017 · 3 comments
Labels
analyzer-linter Issues with the analyzer's support for the linter package area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. type-enhancement A request for a change that isn't a bug

Comments

@harryterkelsen
Copy link
Contributor

GOOD:

T identity<T>(T x) => x;

BAD:

dynamic/*=T*/ identity/*<T>*/(dynamic/*=T*/ x) => x;
@harryterkelsen harryterkelsen added the type-enhancement A request for a change that isn't a bug label Apr 20, 2017
@alexeieleusis
Copy link
Contributor

With a quickfix!

@srawlins
Copy link
Member

This syntax is going away very soon. Just FYI. #28796

@bwilkerson
Copy link
Member

We already have a hint for this.

@devoncarew devoncarew added analyzer-linter Issues with the analyzer's support for the linter package area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. labels Nov 18, 2024
@devoncarew devoncarew transferred this issue from dart-lang/linter Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-linter Issues with the analyzer's support for the linter package area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

5 participants