Index: pkg/compiler/lib/src/inferrer/locals_handler.dart |
diff --git a/pkg/compiler/lib/src/inferrer/locals_handler.dart b/pkg/compiler/lib/src/inferrer/locals_handler.dart |
index 42d50f9f01dbd2b80430f9cac6ebd50fc1bdcbae..b44552906553ddeb537fc002dc550793d9e84ca2 100644 |
--- a/pkg/compiler/lib/src/inferrer/locals_handler.dart |
+++ b/pkg/compiler/lib/src/inferrer/locals_handler.dart |
@@ -210,7 +210,7 @@ class ArgumentsTypes extends IterableMixin<TypeInformation> { |
return positional.every(f) && named.values.every(f); |
} |
- bool contains(TypeInformation type) { |
+ bool contains(Object type) { |
return positional.contains(type) || named.containsValue(type); |
} |
} |