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

Unified Diff: pkg/analyzer-experimental/lib/src/generated/error.dart

Issue 12328104: Change new List(n) to return fixed length list. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge to head. Created 7 years, 10 months 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
Index: pkg/analyzer-experimental/lib/src/generated/error.dart
diff --git a/pkg/analyzer-experimental/lib/src/generated/error.dart b/pkg/analyzer-experimental/lib/src/generated/error.dart
index 17a0466de1ea7040df09e9924bb3eb79db9fc12f..d107954cdc7f63d48e07373ef69babee3c8d5aed 100644
--- a/pkg/analyzer-experimental/lib/src/generated/error.dart
+++ b/pkg/analyzer-experimental/lib/src/generated/error.dart
@@ -120,7 +120,7 @@ class AnalysisError {
/**
* An empty array of errors used when no errors are expected.
*/
- static List<AnalysisError> NO_ERRORS = new List<AnalysisError>.fixedLength(0);
+ static List<AnalysisError> NO_ERRORS = new List<AnalysisError>(0);
/**
* The error code associated with the error.
*/
@@ -226,4 +226,4 @@ class AnalysisError {
builder.add(_message);
return builder.toString();
}
-}
+}

Powered by Google App Engine
This is Rietveld 408576698