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

Issue 10878077: Unify list. (Closed)

Created:
8 years, 3 months ago by Anders Johnsen
Modified:
8 years, 3 months ago
Reviewers:
Mads Ager (google)
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Unify list. I've added a TODO that we'll have to address asap. This patch will currently limit the checks being performed with List.from(other). BUG= Committed: https://code.google.com/p/dart/source/detail?r=11384

Patch Set 1 #

Total comments: 10

Patch Set 2 : Add issue number to TODO. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -33 lines) Patch
M corelib/src/implementation/corelib_impl_sources.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A corelib/src/implementation/list.dart View 1 1 chunk +31 lines, -0 lines 0 comments Download
M corelib/src/list.dart View 1 chunk +1 line, -1 line 0 comments Download
M lib/compiler/implementation/lib/coreimpl.dart View 1 chunk +1 line, -0 lines 0 comments Download
M lib/compiler/implementation/lib/coreimpl_patch.dart View 1 chunk +16 lines, -0 lines 0 comments Download
M lib/compiler/implementation/lib/mockimpl.dart View 1 chunk +0 lines, -13 lines 0 comments Download
M runtime/lib/array.dart View 1 chunk +0 lines, -18 lines 0 comments Download
A runtime/lib/array_patch.dart View 1 chunk +21 lines, -0 lines 0 comments Download
M runtime/lib/lib_impl_sources.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/tests/vm/dart/isolate_mirror_local_test.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Anders Johnsen
https://chromiumcodereview.appspot.com/10878077/diff/1/corelib/src/implementation/list.dart File corelib/src/implementation/list.dart (right): https://chromiumcodereview.appspot.com/10878077/diff/1/corelib/src/implementation/list.dart#newcode24 corelib/src/implementation/list.dart:24: // TODO(ajohnsen): Make external once the vm can handle ...
8 years, 3 months ago (2012-08-27 13:56:45 UTC) #1
Mads Ager (google)
LGTM https://chromiumcodereview.appspot.com/10878077/diff/1/corelib/src/implementation/list.dart File corelib/src/implementation/list.dart (right): https://chromiumcodereview.appspot.com/10878077/diff/1/corelib/src/implementation/list.dart#newcode24 corelib/src/implementation/list.dart:24: // TODO(ajohnsen): Make external once the vm can ...
8 years, 3 months ago (2012-08-27 14:02:42 UTC) #2
Anders Johnsen
8 years, 3 months ago (2012-08-27 14:05:39 UTC) #3
Thank you, landing!

https://chromiumcodereview.appspot.com/10878077/diff/1/corelib/src/implementa...
File corelib/src/implementation/list.dart (right):

https://chromiumcodereview.appspot.com/10878077/diff/1/corelib/src/implementa...
corelib/src/implementation/list.dart:24: // TODO(ajohnsen): Make external once
the vm can handle it, so we don't
On 2012/08/27 14:02:42, Mads Ager wrote:
> On 2012/08/27 13:56:45, ajohnsen wrote:
> > Should I file a bug and add issue number here?
> 
> Yes, please. Bug report that named factory constructors do not work would be
> good.

Done.

https://chromiumcodereview.appspot.com/10878077/diff/1/corelib/src/implementa...
corelib/src/implementation/list.dart:25: //                 lose generic type
information.
On 2012/08/27 14:02:42, Mads Ager wrote:
> But please lose the additional indentation here. Don't align this with :

Done.

https://chromiumcodereview.appspot.com/10878077/diff/1/lib/compiler/implement...
File lib/compiler/implementation/lib/mockimpl.dart (right):

https://chromiumcodereview.appspot.com/10878077/diff/1/lib/compiler/implement...
lib/compiler/implementation/lib/mockimpl.dart:15: class StringBase {
On 2012/08/27 14:02:42, Mads Ager wrote:
> You should move StringBase to a real file as well. Then only
ReceivePortFactory
> is left here. We should look into getting rid of that too so we can get rid of
> the mockimpl file.

Right, will do in a follow-up CL.

https://chromiumcodereview.appspot.com/10878077/diff/1/runtime/lib/array_patc...
File runtime/lib/array_patch.dart (right):

https://chromiumcodereview.appspot.com/10878077/diff/1/runtime/lib/array_patc...
runtime/lib/array_patch.dart:1: // Copyright (c) 2012, the Dart project authors.
 Please see the AUTHORS file
On 2012/08/27 14:02:42, Mads Ager wrote:
> On 2012/08/27 13:56:45, ajohnsen wrote:
> > Is this the time to start calling them list, e.g. list_patch.dart?
> 
> Let's do a cleanup sweep to do that?

Roger!

Powered by Google App Engine
This is Rietveld 408576698