Index: sdk/lib/_internal/compiler/implementation/types/container_tracer.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/types/container_tracer.dart (revision 25009) |
+++ sdk/lib/_internal/compiler/implementation/types/container_tracer.dart (working copy) |
@@ -306,6 +306,8 @@ |
if (!indices.isEmpty) { |
Iterable<Element> callees; |
if (callee is Element) { |
+ // No need to go further, we know the call will throw. |
+ if (callee.isErroneous()) return false; |
callees = [callee]; |
} else { |
assert(callee is Selector); |