-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
dart-archive/linter
#4191Labels
P1A high priority bug; for example, a single project is unusable or has many test failuresA high priority bug; for example, a single project is unusable or has many test failuresdevexp-linterIssues with the analyzer's support for the linter packageIssues with the analyzer's support for the linter packagelegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.linter-false-negativeIssues related to lint rules that fail to report a problem.Issues related to lint rules that fail to report a problem.linter-new-language-featurelinter-set-core
Milestone
Description
Child issue of #58837
I think there should be a test case like:
void f(void p) {
(p, ) = (7, );
}
in which the lint rule would report that assigning to p
violates void_checks
.
Also maybe something with object patterns? like class C<T> { T f; }
and case C<void>(f: var x): print('hi');
...
pq
Metadata
Metadata
Assignees
Labels
P1A high priority bug; for example, a single project is unusable or has many test failuresA high priority bug; for example, a single project is unusable or has many test failuresdevexp-linterIssues with the analyzer's support for the linter packageIssues with the analyzer's support for the linter packagelegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.linter-false-negativeIssues related to lint rules that fail to report a problem.Issues related to lint rules that fail to report a problem.linter-new-language-featurelinter-set-core