newRegExp(r'^\[error\] Invalid override\. The type of [^ ]+ \(.+\) is not a subtype of [^ ]+ \(.+\)\.'),// we allow type narrowing
newRegExp(r'^\[warning\] .+ will need runtime check to cast to type .+'),// https://github.com/dart-lang/sdk/issues/24542
...
...
@@ -273,6 +273,7 @@ class AnalyzeCommand extends FlutterCommand {
newRegExp('^\\[error\\] Target of URI does not exist: \'dart:ui_internals\''),// https://github.com/flutter/flutter/issues/83
newRegExp(r'\[lint\] Prefer using lowerCamelCase for constant names.'),// sometimes we have no choice (e.g. when matching other platforms)
newRegExp(r'\[lint\] Avoid defining a one-member abstract class when a simple function will do.'),// too many false-positives; code review should catch real instances