Chromium Code Reviews| Index: pkg/analyzer/test/src/task/dart_test.dart |
| diff --git a/pkg/analyzer/test/src/task/dart_test.dart b/pkg/analyzer/test/src/task/dart_test.dart |
| index 951ee79779aa39a329cbe8480c6ca1ed8d8653bf..c51e55e47c60338e2a77fc914c877ef01c1f8a39 100644 |
| --- a/pkg/analyzer/test/src/task/dart_test.dart |
| +++ b/pkg/analyzer/test/src/task/dart_test.dart |
| @@ -181,7 +181,8 @@ f() { |
| Annotation annotation = unit.declarations |
| .firstWhere((m) => m is FunctionDeclaration) |
| .metadata[0]; |
| - List<ConstantEvaluationTarget> expectedConstants = [ |
| + List<ConstantEvaluationTarget> expectedConstants = |
|
Jennifer Messerly
2016/09/15 21:00:33
maybe "var" on left side so the type isn't repeate
Brian Wilkerson
2016/09/15 21:37:26
I would, but there is a sharp pain in the back of
|
| + <ConstantEvaluationTarget>[ |
| unitElement.accessors.firstWhere((e) => e.isGetter).variable, |
| unitElement.types[0].fields[0], |
| unitElement.functions[0].localVariables[0], |