Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1466)

Unified Diff: pkg/analyzer/lib/src/generated/resolver.dart

Issue 730783002: Make constant lists immutable (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/generated/html.dart ('k') | pkg/analyzer/lib/src/generated/source.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/resolver.dart
diff --git a/pkg/analyzer/lib/src/generated/resolver.dart b/pkg/analyzer/lib/src/generated/resolver.dart
index 1ca9d3b0047fca7278ee141244164d68cb56a8cf..0f442668f4e6e726369fc344747fb13acbf21d21 100644
--- a/pkg/analyzer/lib/src/generated/resolver.dart
+++ b/pkg/analyzer/lib/src/generated/resolver.dart
@@ -7365,9 +7365,9 @@ class Library {
LibraryScope _libraryScope;
/**
- * An empty array that can be used to initialize lists of libraries.
+ * An empty list that can be used to initialize lists of libraries.
*/
- static List<Library> _EMPTY_ARRAY = new List<Library>(0);
+ static const List<Library> _EMPTY_ARRAY = const <Library>[];
/**
* The prefix of a URI using the dart-ext scheme to reference a native code library.
« no previous file with comments | « pkg/analyzer/lib/src/generated/html.dart ('k') | pkg/analyzer/lib/src/generated/source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698