Index: pkg/analyzer/lib/src/dart/constant/evaluation.dart |
diff --git a/pkg/analyzer/lib/src/dart/constant/evaluation.dart b/pkg/analyzer/lib/src/dart/constant/evaluation.dart |
index c3353512d565d7dcf5a3281f876b20d8d1bbf1ea..8659dfea7e32437c0077b9f9a655d5275c05b427 100644 |
--- a/pkg/analyzer/lib/src/dart/constant/evaluation.dart |
+++ b/pkg/analyzer/lib/src/dart/constant/evaluation.dart |
@@ -29,6 +29,7 @@ import 'package:analyzer/src/generated/type_system.dart' |
import 'package:analyzer/src/generated/utilities_collection.dart'; |
import 'package:analyzer/src/generated/utilities_dart.dart' show ParameterKind; |
import 'package:analyzer/src/task/dart.dart'; |
+import 'package:analyzer/dart/ast/standard_ast_factory.dart'; |
/** |
* Helper class encapsulating the methods for evaluating constants and |
@@ -717,7 +718,7 @@ class ConstantEvaluationEngine { |
superclass.lookUpConstructor(superName, constructor.library); |
if (superConstructor != null) { |
if (superArguments == null) { |
- superArguments = new NodeList<Expression>(null); |
+ superArguments = astFactory.nodeList/*<Expression>*/(null); |
} |
evaluateSuperConstructorCall(node, fieldMap, superConstructor, |