Unverified Commit 7a325045 authored by Sam Rawlins's avatar Sam Rawlins Committed by GitHub

Ignore unused_element_parameter (#126926)

When the analyzer detects an unused parameter, it reports `unused_element` which can be ignored with an inline ignore like `// ignore: unused_element`. The analyzer will start reporting instead, `unused_element_parameter`. There are ignores in flutter/flutter that need to be updated to the new code. In order to incrementally migrate, they can be changed to `// ignore: unused_element, unused_element_parameter`.

After flutter/flutter is using a new enough analyzer, we can then change those to `// ignore: unused_element_parameter`.

Work towards https://github.com/flutter/flutter/issues/126924
parent 9657289f
......@@ -3256,7 +3256,7 @@ class _Location {
required this.file,
required this.line,
required this.column,
// ignore: unused_element
// ignore: unused_element, unused_element_parameter
this.name,
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment