Index: pkg/analyzer/lib/src/generated/constant.dart |
diff --git a/pkg/analyzer/lib/src/generated/constant.dart b/pkg/analyzer/lib/src/generated/constant.dart |
index 23dec9e39e5d3102509ff25020007ff2c5fa544f..5f6978e1b8f30624b73ed41ae0a76445ee73e79c 100644 |
--- a/pkg/analyzer/lib/src/generated/constant.dart |
+++ b/pkg/analyzer/lib/src/generated/constant.dart |
@@ -1195,7 +1195,7 @@ class ConstantVisitor extends UnifyingAstVisitor<DartObjectImpl> { |
} |
} |
InterfaceType listType = _typeProvider.listType.substitute4([elementType]); |
- return new DartObjectImpl(listType, new ListState(new List.from(elements))); |
+ return new DartObjectImpl(listType, new ListState(elements)); |
} |
@override |