| Index: pkg/analyzer/test/src/task/strong/front_end_inference_test.dart
|
| diff --git a/pkg/analyzer/test/src/task/strong/front_end_inference_test.dart b/pkg/analyzer/test/src/task/strong/front_end_inference_test.dart
|
| index d50b7e52eabd6542e32706abfe4862ff5cc4780e..994733059af9e8c0ee36fc8965cc55107d14d8a1 100644
|
| --- a/pkg/analyzer/test/src/task/strong/front_end_inference_test.dart
|
| +++ b/pkg/analyzer/test/src/task/strong/front_end_inference_test.dart
|
| @@ -325,10 +325,7 @@ class _InstrumentationVisitor extends RecursiveAstVisitor<Null> {
|
| if (node.inGetterContext() && !node.inDeclarationContext()) {
|
| int offset = node.offset;
|
| DartType type = node.staticType;
|
| - if (identical(type, elementType)) {
|
| - _instrumentation.record(uri, offset, 'promotedType',
|
| - const fasta.InstrumentationValueLiteral('none'));
|
| - } else {
|
| + if (!identical(type, elementType)) {
|
| _instrumentation.record(uri, offset, 'promotedType',
|
| new _InstrumentationValueForType(type));
|
| }
|
|
|