| Index: pkg/analyzer/test/src/dart/constant/evaluation_test.dart
|
| diff --git a/pkg/analyzer/test/src/dart/constant/evaluation_test.dart b/pkg/analyzer/test/src/dart/constant/evaluation_test.dart
|
| index 40942d282323dbcca6d0c22491524536cc0af10f..665dbb90758388f3e7697ad775eb10cc72d3fb54 100644
|
| --- a/pkg/analyzer/test/src/dart/constant/evaluation_test.dart
|
| +++ b/pkg/analyzer/test/src/dart/constant/evaluation_test.dart
|
| @@ -1581,10 +1581,10 @@ const b = 3;''');
|
| }
|
|
|
| DartObjectImpl _evaluate(Expression expression, ErrorReporter errorReporter) {
|
| + TestTypeProvider typeProvider = new TestTypeProvider();
|
| return expression.accept(new ConstantVisitor(
|
| - new ConstantEvaluationEngine(
|
| - new TestTypeProvider(), new DeclaredVariables(),
|
| - typeSystem: new TypeSystemImpl()),
|
| + new ConstantEvaluationEngine(typeProvider, new DeclaredVariables(),
|
| + typeSystem: new TypeSystemImpl(typeProvider)),
|
| errorReporter));
|
| }
|
|
|
|
|