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

Issue 10830117: Port the remaining of dart:core to the unified corelib. (Closed)

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

Description

Port the remaining of dart:core to the unified corelib. This also adds support for injecting private fields and functions from class patches. BUG= Committed: https://code.google.com/p/dart/source/detail?r=10156

Patch Set 1 #

Total comments: 13

Patch Set 2 : Remove unchanged files. #

Total comments: 8

Patch Set 3 : Remove two files. #

Patch Set 4 : Don't source the two removed files. #

Patch Set 5 : Fixed a issue where we tried to resolve the patch classes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -86 lines) Patch
A + corelib/unified/core/expando.dart View 1 chunk +1 line, -1 line 0 comments Download
A + corelib/unified/core/implementation/expando.dart View 1 chunk +6 lines, -5 lines 0 comments Download
A + corelib/unified/core/implementation/options.dart View 1 chunk +4 lines, -3 lines 0 comments Download
A + corelib/unified/core/implementation/stopwatch.dart View 4 chunks +22 lines, -6 lines 0 comments Download
M lib/compiler/implementation/compiler.dart View 1 5 chunks +19 lines, -5 lines 0 comments Download
M lib/compiler/implementation/elements/elements.dart View 1 2 chunks +28 lines, -1 line 0 comments Download
D lib/compiler/implementation/lib/clock.dart View 1 chunk +0 lines, -20 lines 0 comments Download
M lib/compiler/implementation/lib/core.dart View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M lib/compiler/implementation/lib/coreimpl.dart View 1 1 chunk +3 lines, -2 lines 0 comments Download
M lib/compiler/implementation/lib/coreimpl.dartp View 2 chunks +70 lines, -1 line 0 comments Download
M lib/compiler/implementation/lib/mock.dart View 1 chunk +0 lines, -39 lines 0 comments Download
M lib/compiler/implementation/world.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Anders Johnsen
8 years, 4 months ago (2012-08-01 13:29:19 UTC) #1
Anders Johnsen
(depends on https://chromiumcodereview.appspot.com/10829102/)
8 years, 4 months ago (2012-08-01 13:29:35 UTC) #2
Mads Ager (google)
The actual change looks good. However, I don't think we should duplicate more files than ...
8 years, 4 months ago (2012-08-01 13:48:34 UTC) #3
Anders Johnsen
PTAL https://chromiumcodereview.appspot.com/10830117/diff/1/corelib/unified/core/implementation/completer.dart File corelib/unified/core/implementation/completer.dart (right): https://chromiumcodereview.appspot.com/10830117/diff/1/corelib/unified/core/implementation/completer.dart#newcode1 corelib/unified/core/implementation/completer.dart:1: // Copyright 2012 Google Inc. All Rights Reserved. ...
8 years, 4 months ago (2012-08-01 14:21:09 UTC) #4
Mads Ager (google)
LGTM https://chromiumcodereview.appspot.com/10830117/diff/51/corelib/unified/core/expando.dart File corelib/unified/core/expando.dart (right): https://chromiumcodereview.appspot.com/10830117/diff/51/corelib/unified/core/expando.dart#newcode8 corelib/unified/core/expando.dart:8: interface Expando<T> default ExpandoImplementation<T> { Have you made ...
8 years, 4 months ago (2012-08-01 14:33:08 UTC) #5
Anders Johnsen
https://chromiumcodereview.appspot.com/10830117/diff/51/corelib/unified/core/expando.dart File corelib/unified/core/expando.dart (right): https://chromiumcodereview.appspot.com/10830117/diff/51/corelib/unified/core/expando.dart#newcode8 corelib/unified/core/expando.dart:8: interface Expando<T> default ExpandoImplementation<T> { On 2012/08/01 14:33:08, Mads ...
8 years, 4 months ago (2012-08-01 14:39:08 UTC) #6
Mads Ager (google)
https://chromiumcodereview.appspot.com/10830117/diff/51/corelib/unified/core/expando.dart File corelib/unified/core/expando.dart (right): https://chromiumcodereview.appspot.com/10830117/diff/51/corelib/unified/core/expando.dart#newcode8 corelib/unified/core/expando.dart:8: interface Expando<T> default ExpandoImplementation<T> { On 2012/08/01 14:39:08, ajohnsen ...
8 years, 4 months ago (2012-08-01 14:42:37 UTC) #7
Anders Johnsen
8 years, 4 months ago (2012-08-02 10:17:41 UTC) #8
Committing.

https://chromiumcodereview.appspot.com/10830117/diff/51/corelib/unified/core/...
File corelib/unified/core/expando.dart (right):

https://chromiumcodereview.appspot.com/10830117/diff/51/corelib/unified/core/...
corelib/unified/core/expando.dart:8: interface Expando<T> default
ExpandoImplementation<T> {
On 2012/08/01 14:42:37, Mads Ager wrote:
> On 2012/08/01 14:39:08, ajohnsen wrote:
> > On 2012/08/01 14:33:08, Mads Ager wrote:
> > > Have you made ExpandoImplementation public because that is what is usually
> > done
> > > for the rest? I'm not sure that it makes much sense to have
> > > ExpandoImplementation be public?
> > 
> > I did it to get around a privacy issue. dart:core imports coreimpl, but that
> > also means that if I put _Expando in coreimpl, it'll not be accessible from
> > here. Should we put the implementation in this file as _Expando?
> > 
> > (Note that the old version _sources_ it in from mock.dart)
> 
> I think this is fine. But maybe you can follow up offline with the author of
> Expando to clearify its usage and why it was implemented this way?

Will do!

Powered by Google App Engine
This is Rietveld 408576698