Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

[BUG] avoid-dynamic doesn't warn about implicit dynamic in function parameters #750

Closed
@DetachHead

Description

@DetachHead
  • Dart code metrics version: 4.13.0
  • Dart sdk version: 2.16.1

Please show your full configuration:

Configuration
analyzer:
  plugins:
    - dart_code_metrics

dart_code_metrics:
  rules:
    - avoid-dynamic

What did you do? Please include the source code example causing the issue.

void foo(a) {
  print(a);
}

What did you expect to happen?
warning on a parameter
What actually happened?
no warning

>flutter pub run dart_code_metrics:metrics analyze lib
✔ no issues found!

image

Metadata

Metadata

Labels

area-coreawaiting infoRequires more information from the customer to progresstype: questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions