Index: pkg/analyzer/lib/src/generated/engine.dart |
diff --git a/pkg/analyzer/lib/src/generated/engine.dart b/pkg/analyzer/lib/src/generated/engine.dart |
index 06eb215fa51028cf857085198fb63171ea01732c..eee26b7c1b00e77b346cf8697b1997775c6e3ca7 100644 |
--- a/pkg/analyzer/lib/src/generated/engine.dart |
+++ b/pkg/analyzer/lib/src/generated/engine.dart |
@@ -1707,6 +1707,21 @@ class AnalysisOptionsImpl implements AnalysisOptions { |
} |
/** |
+ * Return whether the given lists of lints are equal. |
+ */ |
+ static bool compareLints(List<Linter> a, List<Linter> b) { |
+ if (a.length != b.length) { |
+ return false; |
+ } |
+ for (int i = 0; i < a.length; i++) { |
+ if (a[i].lintCode != b[i].lintCode) { |
+ return false; |
+ } |
+ } |
+ return true; |
+ } |
+ |
+ /** |
* Predicate used for [analyzeFunctionBodiesPredicate] when |
* [analyzeFunctionBodies] is set to `true`. |
*/ |