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

Issue 963343002: implement private members, fixes #74 (Closed)

Created:
5 years, 9 months ago by Jennifer Messerly
Modified:
5 years, 9 months ago
Reviewers:
vsm
CC:
dev-compiler+reviews_dartlang.org
Base URL:
git@github.com:dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

implement private members, fixes #74 naturally, lots of things to iterate on, but this expresses the key idea (per-library ES6 symbols for privacy). R=vsm@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/2167e1ac3f4de544ae7d30af917f2015f3d90622

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebase #

Total comments: 3

Patch Set 3 : rebase #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4318 lines, -3693 lines) Patch
M lib/src/codegen/js_codegen.dart View 1 2 3 15 chunks +81 lines, -29 lines 0 comments Download
M lib/src/js/printer.dart View 3 chunks +10 lines, -21 lines 0 comments Download
M test/codegen/expect/_interceptors/_interceptors.js View 1 2 3 13 chunks +49 lines, -31 lines 0 comments Download
M test/codegen/expect/_internal/_internal.js View 1 2 3 23 chunks +224 lines, -199 lines 0 comments Download
M test/codegen/expect/_isolate_helper/_isolate_helper.js View 1 2 3 35 chunks +172 lines, -134 lines 0 comments Download
M test/codegen/expect/_js_helper/_js_helper.js View 1 2 3 29 chunks +306 lines, -243 lines 0 comments Download
M test/codegen/expect/_native_typed_data/_native_typed_data.js View 1 2 3 30 chunks +186 lines, -163 lines 0 comments Download
M test/codegen/expect/async/async.js View 1 2 3 111 chunks +1297 lines, -1135 lines 0 comments Download
M test/codegen/expect/collection/collection.js View 1 2 3 89 chunks +1119 lines, -1016 lines 0 comments Download
M test/codegen/expect/convert/convert.js View 1 2 3 68 chunks +488 lines, -428 lines 0 comments Download
M test/codegen/expect/core/core.js View 1 2 3 64 chunks +326 lines, -244 lines 0 comments Download
M test/codegen/expect/isolate/isolate.js View 1 2 3 3 chunks +10 lines, -7 lines 0 comments Download
M test/codegen/expect/math/math.js View 1 2 3 4 chunks +43 lines, -38 lines 0 comments Download
M test/codegen/expect/methods/methods.js View 1 2 chunks +4 lines, -3 lines 0 comments Download
M test/codegen/expect/typed_data/typed_data.js View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (1 generated)
Jennifer Messerly
5 years, 9 months ago (2015-02-28 00:52:04 UTC) #2
Jennifer Messerly
https://codereview.chromium.org/963343002/diff/1/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/963343002/diff/1/lib/src/codegen/js_codegen.dart#newcode48 lib/src/codegen/js_codegen.dart:48: final _privateNames = new Set<String>(); hmmm, another thought ...
5 years, 9 months ago (2015-03-02 18:48:16 UTC) #3
vsm
On 2015/03/02 18:48:16, John Messerly wrote: > https://codereview.chromium.org/963343002/diff/1/lib/src/codegen/js_codegen.dart > File lib/src/codegen/js_codegen.dart (right): > > https://codereview.chromium.org/963343002/diff/1/lib/src/codegen/js_codegen.dart#newcode48 ...
5 years, 9 months ago (2015-03-02 18:52:06 UTC) #4
Jennifer Messerly
Hmmm. That's interesting. ES6 is intending the features to be used exactly like this though. ...
5 years, 9 months ago (2015-03-02 18:59:50 UTC) #5
Jennifer Messerly
On 2015/03/02 18:59:50, John Messerly wrote: > Hmmm. That's interesting. ES6 is intending the features ...
5 years, 9 months ago (2015-03-02 20:21:26 UTC) #6
vsm
Note, you have a bunch of git conflicts in your latest upload. Interspersing the symbol ...
5 years, 9 months ago (2015-03-02 21:17:01 UTC) #7
Jennifer Messerly
On 2015/03/02 21:17:01, vsm wrote: > Note, you have a bunch of git conflicts in ...
5 years, 9 months ago (2015-03-02 21:26:10 UTC) #8
Jennifer Messerly
PTAL! I also fixed it to generate symbols closer to their use
5 years, 9 months ago (2015-03-02 22:38:02 UTC) #9
vsm
lgtm
5 years, 9 months ago (2015-03-03 13:52:53 UTC) #10
Jennifer Messerly
5 years, 9 months ago (2015-03-03 14:44:30 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:50001) manually as
2167e1ac3f4de544ae7d30af917f2015f3d90622 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698