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

Issue 1056353004: Add List.unmodifiable constructor. (Closed)

Created:
5 years, 8 months ago by Lasse Reichstein Nielsen
Modified:
5 years, 8 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, kasperl
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Add List.unmodifiable constructor. R=sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=45334

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove left-over debug coide. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -7 lines) Patch
M runtime/lib/array_patch.dart View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/lib/growable_array.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/lib/internal_patch.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/core_patch.dart View 1 1 chunk +6 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/js_lib/internal_patch.dart View 1 chunk +6 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/js_array.dart View 4 chunks +14 lines, -4 lines 1 comment Download
M sdk/lib/core/list.dart View 1 chunk +11 lines, -0 lines 0 comments Download
M sdk/lib/internal/list.dart View 1 chunk +16 lines, -0 lines 1 comment Download
A tests/corelib/list_unmodifiable_test.dart View 1 chunk +245 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Lasse Reichstein Nielsen
5 years, 8 months ago (2015-04-21 12:56:10 UTC) #2
Søren Gjesse
lgtm https://codereview.chromium.org/1056353004/diff/1/sdk/lib/_internal/compiler/js_lib/core_patch.dart File sdk/lib/_internal/compiler/js_lib/core_patch.dart (right): https://codereview.chromium.org/1056353004/diff/1/sdk/lib/_internal/compiler/js_lib/core_patch.dart#newcode290 sdk/lib/_internal/compiler/js_lib/core_patch.dart:290: class X<T> { Type get type => T; ...
5 years, 8 months ago (2015-04-22 08:40:13 UTC) #3
Lasse Reichstein Nielsen
Committed patchset #2 (id:20001) manually as 45334 (presubmit successful).
5 years, 8 months ago (2015-04-22 10:48:39 UTC) #4
Lasse Reichstein Nielsen
https://codereview.chromium.org/1056353004/diff/1/sdk/lib/_internal/compiler/js_lib/core_patch.dart File sdk/lib/_internal/compiler/js_lib/core_patch.dart (right): https://codereview.chromium.org/1056353004/diff/1/sdk/lib/_internal/compiler/js_lib/core_patch.dart#newcode290 sdk/lib/_internal/compiler/js_lib/core_patch.dart:290: class X<T> { Type get type => T; } ...
5 years, 8 months ago (2015-04-22 10:56:37 UTC) #5
sra1
Optimization of this is poor. https://codereview.chromium.org/1056353004/diff/20001/sdk/lib/_internal/compiler/js_lib/js_array.dart File sdk/lib/_internal/compiler/js_lib/js_array.dart (right): https://codereview.chromium.org/1056353004/diff/20001/sdk/lib/_internal/compiler/js_lib/js_array.dart#newcode86 sdk/lib/_internal/compiler/js_lib/js_array.dart:86: return JS('List', '#', list); ...
5 years, 8 months ago (2015-04-22 21:17:31 UTC) #7
kevmoo
On 2015/04/22 21:17:31, sra1 wrote: > Optimization of this is poor. > > https://codereview.chromium.org/1056353004/diff/20001/sdk/lib/_internal/compiler/js_lib/js_array.dart > ...
5 years, 8 months ago (2015-04-23 00:31:33 UTC) #8
Lasse Reichstein Nielsen
On 2015/04/23 00:31:33, kevmoo wrote: > > DCB: please add a note to CHANGELOG.md Re ...
5 years, 8 months ago (2015-04-23 06:02:26 UTC) #9
kevmoo
5 years, 8 months ago (2015-04-23 07:01:09 UTC) #10
Message was sent while issue was closed.
On 2015/04/23 06:02:26, Lasse Reichstein Nielsen wrote:
> On 2015/04/23 00:31:33, kevmoo wrote:
> > 
> > DCB: please add a note to CHANGELOG.md
> 
> Re CHANGELOG.md - it seems to be using a format where there revision number is
> mentioned on the change.
> That makes it hard to add the change note in the same commit as the change
since
> you don't know the revision number before committing.
> (Well, I did manage to put it in before committing, by predicting that the
next
> revision was one later than the current, but that's incredibly fragile).
> What is the recommended way to add chages to the change0-log?

Guessing 1.11 at this point is totally valid.

Let me get back to you, though.

Powered by Google App Engine
This is Rietveld 408576698