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

Issue 11859012: Change how to opt-in to dart2js mirrors. (Closed)

Created:
7 years, 11 months ago by ahe
Modified:
7 years, 11 months ago
Reviewers:
sra1, kasperl
CC:
reviews_dartlang.org, sra1, erikcorry, aam-me
Visibility:
Public.

Description

Change how to opt-in to dart2js mirrors. Committed: https://code.google.com/p/dart/source/detail?r=17042

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -33 lines) Patch
M dart/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart View 3 chunks +1 line, -8 lines 0 comments Download
D dart/sdk/lib/_internal/compiler/implementation/lib/mirror_opt_in_message.dart View 1 chunk +0 lines, -20 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/lib/mirrors_patch.dart View 1 3 chunks +24 lines, -4 lines 0 comments Download
M dart/tests/compiler/dart2js_extra/mirror_test.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
ahe
7 years, 11 months ago (2013-01-11 17:41:25 UTC) #1
sra1
lgtm. Thanks for doing this. https://codereview.chromium.org/11859012/diff/1/dart/sdk/lib/_internal/compiler/implementation/lib/mirrors_patch.dart File dart/sdk/lib/_internal/compiler/implementation/lib/mirrors_patch.dart (right): https://codereview.chromium.org/11859012/diff/1/dart/sdk/lib/_internal/compiler/implementation/lib/mirrors_patch.dart#newcode38 dart/sdk/lib/_internal/compiler/implementation/lib/mirrors_patch.dart:38: if ((_MIRROR_OPT_IN_MESSAGE == reflectee)) ...
7 years, 11 months ago (2013-01-12 12:50:22 UTC) #2
kasperl
LGTM.
7 years, 11 months ago (2013-01-14 08:07:04 UTC) #3
ahe
7 years, 11 months ago (2013-01-16 13:36:13 UTC) #4
Message was sent while issue was closed.
https://codereview.chromium.org/11859012/diff/1/dart/sdk/lib/_internal/compil...
File dart/sdk/lib/_internal/compiler/implementation/lib/mirrors_patch.dart
(right):

https://codereview.chromium.org/11859012/diff/1/dart/sdk/lib/_internal/compil...
dart/sdk/lib/_internal/compiler/implementation/lib/mirrors_patch.dart:38: if
((_MIRROR_OPT_IN_MESSAGE == reflectee)) {
On 2013/01/12 12:50:22, sra1 wrote:
> Perhaps add  && !_mirrorsEnabled just in case the string is reflected for
real.

Done.

Powered by Google App Engine
This is Rietveld 408576698