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

Issue 1214723009: Make List constructor give better error messages for non-int arguments (Closed)

Created:
5 years, 5 months ago by Lasse Reichstein Nielsen
Modified:
5 years, 4 months ago
Reviewers:
Ivan Posva, srdjan, sra1, herhut
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix test to also pass on dart2js. #

Total comments: 8

Patch Set 3 : Merge to head. #

Total comments: 4

Patch Set 4 : Update test #

Patch Set 5 : Avoid warning #

Patch Set 6 : Use unused variable. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -47 lines) Patch
M runtime/vm/code_generator.cc View 1 2 4 1 chunk +32 lines, -25 lines 0 comments Download
M runtime/vm/exceptions.h View 4 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/exceptions.cc View 1 2 4 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/object_test.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/vm/symbols.h View 1 2 4 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/js_array.dart View 1 4 2 chunks +10 lines, -2 lines 0 comments Download
M sdk/lib/collection/list.dart View 1 4 1 chunk +5 lines, -1 line 0 comments Download
M tests/corelib/corelib.status View 1 2 4 1 chunk +0 lines, -1 line 0 comments Download
M tests/corelib/growable_list_test.dart View 1 2 3 4 5 4 chunks +62 lines, -15 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
Lasse Reichstein Nielsen
https://codereview.chromium.org/1214723009/diff/20001/tests/corelib/growable_list_test.dart File tests/corelib/growable_list_test.dart (right): https://codereview.chromium.org/1214723009/diff/20001/tests/corelib/growable_list_test.dart#newcode85 tests/corelib/growable_list_test.dart:85: Expect.throws(fn, checked ? null : test, null should be ...
5 years, 5 months ago (2015-07-07 13:08:02 UTC) #2
Ivan Posva
VM changes: LGTM -ip
5 years, 5 months ago (2015-07-08 08:42:32 UTC) #3
herhut
lgtm. Could you file a bug on the wrong behavior of dart2js wrt. calling the ...
5 years, 5 months ago (2015-07-08 08:59:58 UTC) #4
Lasse Reichstein Nielsen
https://codereview.chromium.org/1214723009/diff/20001/tests/corelib/growable_list_test.dart File tests/corelib/growable_list_test.dart (right): https://codereview.chromium.org/1214723009/diff/20001/tests/corelib/growable_list_test.dart#newcode85 tests/corelib/growable_list_test.dart:85: Expect.throws(fn, checked ? null : test, I'm not sure ...
5 years, 5 months ago (2015-07-08 09:03:39 UTC) #5
herhut
On 2015/07/08 09:03:39, Lasse Reichstein Nielsen wrote: > https://codereview.chromium.org/1214723009/diff/20001/tests/corelib/growable_list_test.dart > File tests/corelib/growable_list_test.dart (right): > > ...
5 years, 5 months ago (2015-07-08 09:05:48 UTC) #6
sra1
lgtm https://codereview.chromium.org/1214723009/diff/1/sdk/lib/_internal/js_runtime/lib/js_array.dart File sdk/lib/_internal/js_runtime/lib/js_array.dart (right): https://codereview.chromium.org/1214723009/diff/1/sdk/lib/_internal/js_runtime/lib/js_array.dart#newcode29 sdk/lib/_internal/js_runtime/lib/js_array.dart:29: // the value is not a UInt32. Give ...
5 years, 5 months ago (2015-07-08 09:57:01 UTC) #8
Lasse Reichstein Nielsen
https://codereview.chromium.org/1214723009/diff/1/sdk/lib/_internal/js_runtime/lib/js_array.dart File sdk/lib/_internal/js_runtime/lib/js_array.dart (right): https://codereview.chromium.org/1214723009/diff/1/sdk/lib/_internal/js_runtime/lib/js_array.dart#newcode29 sdk/lib/_internal/js_runtime/lib/js_array.dart:29: // the value is not a UInt32. Give a ...
5 years, 5 months ago (2015-07-08 10:52:31 UTC) #9
Ivan Posva
On 2015/07/08 10:52:31, Lasse Reichstein Nielsen wrote: > https://codereview.chromium.org/1214723009/diff/1/sdk/lib/_internal/js_runtime/lib/js_array.dart > File sdk/lib/_internal/js_runtime/lib/js_array.dart (right): > > ...
5 years, 4 months ago (2015-08-14 05:53:37 UTC) #10
Lasse Reichstein Nielsen
Committed patchset #3 (id:40001) manually as 33c76638268e3e24fb7a73a8f6f141f38272e8dd (presubmit successful).
5 years, 4 months ago (2015-08-14 11:44:23 UTC) #11
srdjan
DBC https://codereview.chromium.org/1214723009/diff/40001/sdk/lib/collection/list.dart File sdk/lib/collection/list.dart (right): https://codereview.chromium.org/1214723009/diff/40001/sdk/lib/collection/list.dart#newcode249 sdk/lib/collection/list.dart:249: assert(this.length == i || (throw new ConcurrentModificationError(this))); What ...
5 years, 4 months ago (2015-08-14 18:00:55 UTC) #13
Lasse Reichstein Nielsen
https://codereview.chromium.org/1214723009/diff/40001/sdk/lib/collection/list.dart File sdk/lib/collection/list.dart (right): https://codereview.chromium.org/1214723009/diff/40001/sdk/lib/collection/list.dart#newcode249 sdk/lib/collection/list.dart:249: assert(this.length == i || (throw new ConcurrentModificationError(this))); There is ...
5 years, 4 months ago (2015-08-14 22:11:02 UTC) #14
Lasse Reichstein Nielsen
https://codereview.chromium.org/1214723009/diff/40001/tests/corelib/growable_list_test.dart File tests/corelib/growable_list_test.dart (right): https://codereview.chromium.org/1214723009/diff/40001/tests/corelib/growable_list_test.dart#newcode13 tests/corelib/growable_list_test.dart:13: assert((checked = true)); On 2015/08/14 18:00:55, srdjan wrote: > ...
5 years, 4 months ago (2015-08-17 08:28:25 UTC) #15
Lasse Reichstein Nielsen
5 years, 4 months ago (2015-08-17 11:01:17 UTC) #16
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
1b8f3fba14be1853bcbeed1a0e7a80fad4f75af8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698