Skip to content

@internal should disable public_member_api_docs when applied on variables #60617

Closed
@rrousselGit

Description

@rrousselGit

Consider:

@internal
int a = 42;

This will trigger the public_member_api_docs lint.

This is inconsistent with @internal applied on classes:

@internal
class A{} // No public_member_api_docs lint
```Ï

Metadata

Metadata

Assignees

Labels

P3A lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-linterIssues with the analyzer's support for the linter packagelinter-false-positiveIssues related to lint rules that report a problem when it isn't a problem.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions