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

Issue 2563633002: Make the VM's dart:core and dart:async library patches clean. (Closed)

Created:
4 years ago by Kevin Millikin (Google)
Modified:
4 years ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Make the VM's dart:core and dart:async library patches clean. Clean up the VM's dart:core and dart:async library patches so that they are clean according to the patching rules implemented in the analyzer. Specifically: - If a member is patched in a patch file, it must be declared external in the SDK. - If a member is introduced in a patch file, it must be private. - A non-private superclass member cannot be overridden in a patch file. BUG= R=lrn@google.com, sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/f7b6f0cf1c188bbc375de2a37f9a4129cb845428

Patch Set 1 #

Total comments: 18

Patch Set 2 : Incorporate review comments, verify VM and dart2js work. #

Patch Set 3 : Make moveNextFn private. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -34 lines) Patch
M runtime/lib/bool_patch.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/lib/core_patch.dart View 1 2 3 chunks +11 lines, -11 lines 0 comments Download
M runtime/lib/errors_patch.dart View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/lib/immutable_map.dart View 1 5 chunks +6 lines, -6 lines 0 comments Download
M runtime/lib/null_patch.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/parser.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/symbols.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/core_patch.dart View 1 5 chunks +36 lines, -0 lines 0 comments Download
M sdk/lib/core/bool.dart View 1 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/core/errors.dart View 1 3 chunks +10 lines, -12 lines 0 comments Download
M sdk/lib/core/null.dart View 1 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/core/object.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/internal/internal.dart View 1 chunk +9 lines, -0 lines 1 comment Download

Messages

Total messages: 16 (4 generated)
Kevin Millikin (Google)
https://codereview.chromium.org/2563633002/diff/1/sdk/lib/internal/internal.dart File sdk/lib/internal/internal.dart (right): https://codereview.chromium.org/2563633002/diff/1/sdk/lib/internal/internal.dart#newcode68 sdk/lib/internal/internal.dart:68: class ExternalName { This is an annotation class used ...
4 years ago (2016-12-08 11:26:15 UTC) #2
Lasse Reichstein Nielsen
https://codereview.chromium.org/2563633002/diff/1/runtime/lib/core_patch.dart File runtime/lib/core_patch.dart (right): https://codereview.chromium.org/2563633002/diff/1/runtime/lib/core_patch.dart#newcode32 runtime/lib/core_patch.dart:32: final _SyncGeneratorCallback moveNextFn; Not your CL, but ... I ...
4 years ago (2016-12-08 12:25:32 UTC) #3
Lasse Reichstein Nielsen
https://codereview.chromium.org/2563633002/diff/1/sdk/lib/core/errors.dart File sdk/lib/core/errors.dart (right): https://codereview.chromium.org/2563633002/diff/1/sdk/lib/core/errors.dart#newcode419 sdk/lib/core/errors.dart:419: external String toString(); I can see that that is ...
4 years ago (2016-12-08 12:26:38 UTC) #4
floitsch
https://codereview.chromium.org/2563633002/diff/1/sdk/lib/core/errors.dart File sdk/lib/core/errors.dart (right): https://codereview.chromium.org/2563633002/diff/1/sdk/lib/core/errors.dart#newcode427 sdk/lib/core/errors.dart:427: AbstractClassInstantiationError(String this._className); On 2016/12/08 12:25:32, Lasse Reichstein Nielsen wrote: ...
4 years ago (2016-12-08 12:30:46 UTC) #5
Kevin Millikin (Google)
Thanks for the review. This also needs a change to the VM's implementation before it ...
4 years ago (2016-12-09 08:38:59 UTC) #6
Kevin Millikin (Google)
Verified to work on the VM and dart2js. Please take another look.
4 years ago (2016-12-09 12:09:59 UTC) #7
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/2563633002/diff/40001/sdk/lib/internal/internal.dart File sdk/lib/internal/internal.dart (right): https://codereview.chromium.org/2563633002/diff/40001/sdk/lib/internal/internal.dart#newcode66 sdk/lib/internal/internal.dart:66: /// Provides a backend-specific String that can be ...
4 years ago (2016-12-09 13:17:41 UTC) #8
Kevin Millikin (Google)
+sra,hausner Stephen, Matthias, will you please look at the dart2js (respectively VM) parts of this ...
4 years ago (2016-12-09 13:33:57 UTC) #10
Kevin Millikin (Google)
+sigmund
4 years ago (2016-12-14 11:00:25 UTC) #12
hausner
The adjustment of the patch files look fine. However, I would encourage to rethink whether ...
4 years ago (2016-12-14 23:16:59 UTC) #13
Siggi Cherem (dart-lang)
lgtm
4 years ago (2016-12-15 00:40:52 UTC) #14
Kevin Millikin (Google)
4 years ago (2016-12-15 09:10:17 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
f7b6f0cf1c188bbc375de2a37f9a4129cb845428 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698