| Index: pkg/analyzer/lib/src/generated/error.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/error.dart b/pkg/analyzer/lib/src/generated/error.dart
|
| index 1dc94399046e8d39c0ed1ed2f8b148272b27fd7b..5cdc4b92c4c70a44cf0ccf626fd41515163a725c 100644
|
| --- a/pkg/analyzer/lib/src/generated/error.dart
|
| +++ b/pkg/analyzer/lib/src/generated/error.dart
|
| @@ -2136,7 +2136,7 @@ class ErrorReporter {
|
| int count = arguments.length;
|
| HashSet<String> typeNames = new HashSet<String>();
|
| for (int i = 0; i < count; i++) {
|
| - if (arguments[i] is DartType && typeNames.add((arguments[i] as DartType).displayName)) {
|
| + if (arguments[i] is DartType && !typeNames.add((arguments[i] as DartType).displayName)) {
|
| return true;
|
| }
|
| }
|
|
|