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

Unified Diff: lib/src/lists.dart

Issue 955053002: adding codereview file, formatting, adding gitignore (Closed) Base URL: https://github.com/dart-lang/isolate.git@master
Patch Set: Created 5 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: lib/src/lists.dart
diff --git a/lib/src/lists.dart b/lib/src/lists.dart
index 011ecf21a6938e048a0e3bf7835b64622971e57f..e753c0c762e5ac071e1fa2213cbd6f2c22392fc0 100644
--- a/lib/src/lists.dart
+++ b/lib/src/lists.dart
@@ -9,23 +9,27 @@ library pkg.isolate.util.lists;
List list1(v1) => new List(1)..[0] = v1;
/** Create a two-element fixed-length list. */
-List list2(v1, v2) => new List(2)..[0] = v1
- ..[1] = v2;
+List list2(v1, v2) => new List(2)
+ ..[0] = v1
+ ..[1] = v2;
/** Create a three-element fixed-length list. */
-List list3(v1, v2, v3) => new List(3)..[0] = v1
- ..[1] = v2
- ..[2] = v3;
+List list3(v1, v2, v3) => new List(3)
+ ..[0] = v1
+ ..[1] = v2
+ ..[2] = v3;
/** Create a four-element fixed-length list. */
-List list4(v1, v2, v3, v4) => new List(4)..[0] = v1
- ..[1] = v2
- ..[2] = v3
- ..[3] = v4;
+List list4(v1, v2, v3, v4) => new List(4)
+ ..[0] = v1
+ ..[1] = v2
+ ..[2] = v3
+ ..[3] = v4;
/** Create a five-element fixed-length list. */
-List list5(v1, v2, v3, v4, v5) => new List(5)..[0] = v1
- ..[1] = v2
- ..[2] = v3
- ..[3] = v4
- ..[4] = v5;
+List list5(v1, v2, v3, v4, v5) => new List(5)
+ ..[0] = v1
+ ..[1] = v2
+ ..[2] = v3
+ ..[3] = v4
+ ..[4] = v5;
Lasse Reichstein Nielsen 2015/02/26 10:59:15 No to all changes here. maybe if the "new List(n)"

Powered by Google App Engine
This is Rietveld 408576698