Skip to content

Commit 295cb79

Browse files
author
Michael Klimushyn
authored
[infra] Ignore analyzer issues in CI (flutter#2271)
35e984f migrated some deprecated analyzer warnings to the newer alternatives. These created some failures in unrelated plugins based on the warnings being slightly different. Added `ignore`s for now to turn CI green again as soon as possible. The previous analysis options really should not be used and the majority of the patch was unrelated, so I prefer ignoring specific already failing cases to reverting in this case. Including an `analysis_options.yaml` file with deprecated analyzer rules causes analyzer failures in the including package, so that patch can't be landed in a way that prevents regressions without updated rules.
1 parent ad9d2ea commit 295cb79

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/camera.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ enum ResolutionPreset {
3838
max,
3939
}
4040

41+
// ignore: inference_failure_on_function_return_type
4142
typedef onLatestImageAvailable = Function(CameraImage image);
4243

4344
/// Returns the resolution preset as a String.

0 commit comments

Comments
 (0)