| Index: pkg/compiler/lib/src/inferrer/type_graph_dump.dart
|
| diff --git a/pkg/compiler/lib/src/inferrer/type_graph_dump.dart b/pkg/compiler/lib/src/inferrer/type_graph_dump.dart
|
| index c1a19fa2839c1fd79e759b00efe85d2b2305fdeb..fa8c9ef86132887e4bd879b9cc837eadd2de0d8d 100644
|
| --- a/pkg/compiler/lib/src/inferrer/type_graph_dump.dart
|
| +++ b/pkg/compiler/lib/src/inferrer/type_graph_dump.dart
|
| @@ -153,7 +153,14 @@ class _GraphGenerator extends TypeInformationVisitor {
|
| TypeInformation returnValue;
|
|
|
| _GraphGenerator(this.global, this.element, this.output) {
|
| - returnValue = global.inferrer.types.getInferredTypeOf(element);
|
| + if (element.isParameter) {
|
| + returnValue = global.inferrer.types.getInferredTypeOfParameter(element);
|
| + } else if (element.isLocal) {
|
| + returnValue =
|
| + global.inferrer.types.getInferredTypeOfLocalFunction(element);
|
| + } else {
|
| + returnValue = global.inferrer.types.getInferredTypeOfMember(element);
|
| + }
|
| getNode(returnValue); // Ensure return value is part of graph.
|
| append('digraph {');
|
| }
|
|
|