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

Unified Diff: tests/language/optimized_lists_test.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: tests/language/optimized_lists_test.dart
diff --git a/tests/language/optimized_lists_test.dart b/tests/language/optimized_lists_test.dart
index cd2a59648c0302cd136fbd8546322c815848bc51..cc3b86299a3cdbf651e435c78af869ce9bda19d3 100644
--- a/tests/language/optimized_lists_test.dart
+++ b/tests/language/optimized_lists_test.dart
@@ -13,7 +13,7 @@ main() {
test(n) {
var a = new List(); // Growable list.
- var b = new List.fixedLength(10); // Fixed size list.
+ var b = new List(10); // Fixed size list.
var c = const [1, 2, 3, 4]; // Constant aray.
// In optimized mode the class checks will be eliminated since the
// constructors above provide information about exact types.

Powered by Google App Engine
This is Rietveld 408576698