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 945572fc60fad82b67feee2efd0fcb3f114fac94..01293fbcb8fb93815f38f9b4f827b7486757b772 100644 |
--- a/pkg/compiler/lib/src/inferrer/locals_handler.dart |
+++ b/pkg/compiler/lib/src/inferrer/locals_handler.dart |
@@ -191,6 +191,8 @@ class ArgumentsTypes extends IterableMixin<TypeInformation> { |
if (positional[i] != other.positional[i]) return false; |
} |
named.forEach((name, type) { |
+ // TODO(ahe): This is a bug. |
ahe
2017/06/15 09:36:39
I'll file an issue about this and update the comme
ahe
2017/06/15 11:41:57
Done.
|
+ // ignore: RETURN_OF_INVALID_TYPE |
if (other.named[name] != type) return false; |
}); |
return true; |