diff --git a/engine/src/flutter/sky/tools/skyanalyzer b/engine/src/flutter/sky/tools/skyanalyzer index 62ef48adf2..57048edcd3 100755 --- a/engine/src/flutter/sky/tools/skyanalyzer +++ b/engine/src/flutter/sky/tools/skyanalyzer @@ -41,8 +41,9 @@ _IGNORED_PATTERNS = [ re.compile(r'^\[hint\] Runtime check on non-ground type .+ may throw StrongModeError'), # https://github.com/dart-lang/sdk/issues/24565 re.compile(r'^\[hint] \([_, ]+\) .+ has inferred type '), # ignore underscore-only arguments - # Bogus hint - re.compile(r'^\[hint\] \(toText == toPlainText\) \? toStyledText : toPlainText has inferred type \(String, String\) → Widget \(.+styled_text.dart,.+\)'), # https://github.com/dart-lang/sdk/issues/24710 + # Bogus hint - https://github.com/dart-lang/sdk/issues/24710 + re.compile(r'^\[hint\] \(toText == toPlainText\) \? toStyledText : toPlainText has inferred type \(String, String\) → Widget \(.+styled_text.dart,.+\)'), + re.compile(r'^\[hint\] .+ \? \([_, ]+\) {.+} : null has inferred type .+'), # # Disable the lint checks that will be caught by code review re.compile(r'^\[lint\] Avoid defining a one-member abstract class when a simple function will do'),