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

Issue 10960011: Made removeAt errors consistent between dart2js and VM. (Closed)

Created:
8 years, 3 months ago by Lasse Reichstein Nielsen
Modified:
8 years, 3 months ago
Reviewers:
kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Made removeAt errors consistent between dart2js and VM. Reneabled test for VM. Committed: https://code.google.com/p/dart/source/detail?r=12632

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -14 lines) Patch
M lib/compiler/implementation/lib/interceptors.dart View 1 chunk +0 lines, -1 line 0 comments Download
M lib/core/list.dart View 2 chunks +5 lines, -6 lines 0 comments Download
M runtime/lib/growable_array.dart View 1 1 chunk +6 lines, -4 lines 0 comments Download
M tests/corelib/corelib.status View 1 chunk +0 lines, -1 line 0 comments Download
M tests/corelib/list_removeat_test.dart View 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Lasse Reichstein Nielsen
8 years, 3 months ago (2012-09-20 12:38:41 UTC) #1
kasperl
LGTM. https://codereview.chromium.org/10960011/diff/1/runtime/lib/growable_array.dart File runtime/lib/growable_array.dart (right): https://codereview.chromium.org/10960011/diff/1/runtime/lib/growable_array.dart#newcode14 runtime/lib/growable_array.dart:14: Arrays.copy(this, Cache this.length in a local variable?
8 years, 3 months ago (2012-09-20 12:42:41 UTC) #2
Lasse Reichstein Nielsen
8 years, 3 months ago (2012-09-20 12:52:30 UTC) #3
https://codereview.chromium.org/10960011/diff/1/runtime/lib/growable_array.dart
File runtime/lib/growable_array.dart (right):

https://codereview.chromium.org/10960011/diff/1/runtime/lib/growable_array.da...
runtime/lib/growable_array.dart:14: Arrays.copy(this,
Better yet, I'll cache this.length - 1.

Powered by Google App Engine
This is Rietveld 408576698