Index: pkg/compiler/lib/src/inferrer/inferrer_visitor.dart |
diff --git a/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart b/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart |
index ab77d7b8bec4f95d44314233d23993fcc4460d44..1f35e802e12a06779ffd7b80e308792077ae4db1 100644 |
--- a/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart |
+++ b/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart |
@@ -783,6 +783,11 @@ abstract class InferrerVisitor<T, E extends MinimalInferrerEngine<T>> |
} |
@override |
+ T bulkHandleError(Node node, ErroneousElement error, _) { |
+ return types.dynamicType; |
+ } |
+ |
+ @override |
T visitAssert(Send node, Node expression, _) { |
if (!compiler.enableUserAssertions) { |
return types.nullType; |