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

Issue 50733002: Update List constructor documentation. Say that null is not a length. (Closed)

Created:
7 years, 1 month ago by Lasse Reichstein Nielsen
Modified:
7 years, 1 month ago
CC:
reviews_dartlang.org, ngeoffray
Visibility:
Public.

Description

Update List constructor documentation. Say that null is not a length. R=floitsch@google.com, ngeoffray@google.com Committed: https://code.google.com/p/dart/source/detail?r=29522

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add tests. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M sdk/lib/core/list.dart View 2 chunks +3 lines, -1 line 1 comment Download
M tests/corelib/list_test.dart View 1 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Lasse Reichstein Nielsen
7 years, 1 month ago (2013-10-29 12:11:13 UTC) #1
ngeoffray
LGTM https://codereview.chromium.org/50733002/diff/1/sdk/lib/core/list.dart File sdk/lib/core/list.dart (right): https://codereview.chromium.org/50733002/diff/1/sdk/lib/core/list.dart#newcode63 sdk/lib/core/list.dart:63: * The [length] must not be negative or ...
7 years, 1 month ago (2013-10-29 12:13:50 UTC) #2
Lasse Reichstein Nielsen
Added tests. Dart2js still fails. Will check again before committing (likely tomorrow), and update expectations ...
7 years, 1 month ago (2013-10-29 12:17:42 UTC) #3
Lasse Reichstein Nielsen
https://codereview.chromium.org/50733002/diff/1/sdk/lib/core/list.dart File sdk/lib/core/list.dart (right): https://codereview.chromium.org/50733002/diff/1/sdk/lib/core/list.dart#newcode63 sdk/lib/core/list.dart:63: * The [length] must not be negative or null, ...
7 years, 1 month ago (2013-10-29 12:18:51 UTC) #4
floitsch
LGTM.
7 years, 1 month ago (2013-10-29 16:25:20 UTC) #5
Lasse Reichstein Nielsen
Committed patchset #2 manually as r29522 (presubmit successful).
7 years, 1 month ago (2013-10-30 09:54:52 UTC) #6
Anders Johnsen
7 years, 1 month ago (2013-10-30 10:31:27 UTC) #7
Message was sent while issue was closed.
DBC

https://codereview.chromium.org/50733002/diff/60001/sdk/lib/core/list.dart
File sdk/lib/core/list.dart (right):

https://codereview.chromium.org/50733002/diff/60001/sdk/lib/core/list.dart#ne...
sdk/lib/core/list.dart:73: * The [length] must not be negative or null.
"The [length] must be a positive integer." ?

and above.

Powered by Google App Engine
This is Rietveld 408576698