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

Unified Diff: tests/language/fixed_length_test.dart

Issue 12038006: Fix bad type annotation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/fixed_length_test.dart
===================================================================
--- tests/language/fixed_length_test.dart (revision 17338)
+++ tests/language/fixed_length_test.dart (working copy)
@@ -8,7 +8,7 @@
Expect.equals(-1, foo());
}
-void foo() {
+int foo() {
var list = new List<int>.fixedLength(1024);
for(int i = 0; i < list.length; i++) list[i] = -i;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698