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

Unified Diff: pkg/analyzer/test/generated/parser_test.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/source.dart ('k') | pkg/analyzer/test/source/package_map_resolver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/parser_test.dart
diff --git a/pkg/analyzer/test/generated/parser_test.dart b/pkg/analyzer/test/generated/parser_test.dart
index fdf3a50ed6ac7c3776b4be251eac46a952ef73e9..1c6e01a9e09f71f182035a5de2041f2d797bc207 100644
--- a/pkg/analyzer/test/generated/parser_test.dart
+++ b/pkg/analyzer/test/generated/parser_test.dart
@@ -1839,9 +1839,9 @@ class NonErrorParserTest extends ParserTestCase {
class ParserTestCase extends EngineTestCase {
/**
- * An empty array of objects used as arguments to zero-argument methods.
+ * An empty list of objects used as arguments to zero-argument methods.
*/
- static List<Object> _EMPTY_ARGUMENTS = new List<Object>(0);
+ static const List<Object> _EMPTY_ARGUMENTS = const <Object>[];
/**
* A flag indicating whether parser is to parse function bodies.
« no previous file with comments | « pkg/analyzer/lib/src/generated/source.dart ('k') | pkg/analyzer/test/source/package_map_resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698