Skip to content

non_constant_identifier_names: New Function syntax #57623

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
matanlurey opened this issue Sep 15, 2017 · 1 comment
Closed

non_constant_identifier_names: New Function syntax #57623

matanlurey opened this issue Sep 15, 2017 · 1 comment
Labels
devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead.

Comments

@matanlurey
Copy link
Contributor

This (Function below) is linted, but it shouldn't be, ifAbsent the identifier name:

  // ignore: non_constant_identifier_names
  Future<T> writeIfAbsent<T>(String key, T Function<T> ifAbsent) {
    // TODO: implement writeIfAbsent
  }
@matanlurey
Copy link
Contributor Author

Oops, turns out this is another bug, not an issue with the linter:

#30760

@devoncarew devoncarew added devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead. labels Nov 18, 2024
@devoncarew devoncarew transferred this issue from dart-archive/linter Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead.
Projects
None yet
Development

No branches or pull requests

2 participants