| Index: pkg/compiler/lib/src/inferrer/inferrer_engine.dart
|
| diff --git a/pkg/compiler/lib/src/inferrer/inferrer_engine.dart b/pkg/compiler/lib/src/inferrer/inferrer_engine.dart
|
| index 049a86a798ea10a815a36fea9f6dc6b306301c2b..4df6b36d726039840271364f584a9bc0586b10fe 100644
|
| --- a/pkg/compiler/lib/src/inferrer/inferrer_engine.dart
|
| +++ b/pkg/compiler/lib/src/inferrer/inferrer_engine.dart
|
| @@ -22,10 +22,10 @@ import '../util/util.dart';
|
| import '../world.dart';
|
| import 'closure_tracer.dart';
|
| import 'debug.dart' as debug;
|
| -import 'inferrer_visitor.dart';
|
| +import 'locals_handler.dart';
|
| import 'list_tracer.dart';
|
| import 'map_tracer.dart';
|
| -import 'simple_types_inferrer.dart';
|
| +import 'builder.dart';
|
| import 'type_graph_dump.dart';
|
| import 'type_graph_inferrer.dart';
|
| import 'type_graph_nodes.dart';
|
| @@ -464,8 +464,8 @@ class InferrerEngine {
|
| if (analyzedElements.contains(element)) return;
|
| analyzedElements.add(element);
|
|
|
| - SimpleTypeInferrerVisitor visitor =
|
| - new SimpleTypeInferrerVisitor(element, resolvedAst, compiler, this);
|
| + ElementGraphBuilder visitor =
|
| + new ElementGraphBuilder(element, resolvedAst, compiler, this);
|
| TypeInformation type;
|
| reporter.withCurrentElement(element, () {
|
| type = visitor.run();
|
| @@ -788,7 +788,7 @@ class InferrerEngine {
|
|
|
| /**
|
| * Notifies to the inferrer that [analyzedElement] can have return
|
| - * type [newType]. [currentType] is the type the [InferrerVisitor]
|
| + * type [newType]. [currentType] is the type the [ElementGraphBuilder]
|
| * currently found.
|
| *
|
| * Returns the new type for [analyzedElement].
|
|
|