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

Issue 1034273003: fix for static methods and names banned in strict mode (Closed)

Created:
5 years, 9 months ago by Jennifer Messerly
Modified:
5 years, 8 months ago
Reviewers:
Jacob
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

fix for static methods and names banned in strict mode * static methods qualified properly * static method privacy is now enforced * avoid static method names banned in strict mode * avoid variable names banned in strict mode We might want to relax privacy (for both instance and static), but for now it's nice and consistent with instance methods using ES6 Symbol R=jacobr@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/1753b7085cca2b2cbc6b460b96ac5030ca9e5df1

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1387 lines, -1287 lines) Patch
M lib/runtime/dart/_interceptors.js View 12 chunks +43 lines, -41 lines 0 comments Download
M lib/runtime/dart/_internal.js View 15 chunks +30 lines, -28 lines 0 comments Download
M lib/runtime/dart/_isolate_helper.js View 20 chunks +57 lines, -54 lines 0 comments Download
M lib/runtime/dart/_js_helper.js View 44 chunks +142 lines, -141 lines 0 comments Download
M lib/runtime/dart/_native_typed_data.js View 35 chunks +174 lines, -169 lines 0 comments Download
M lib/runtime/dart/async.js View 81 chunks +222 lines, -189 lines 0 comments Download
M lib/runtime/dart/collection.js View 56 chunks +175 lines, -168 lines 0 comments Download
M lib/runtime/dart/convert.js View 27 chunks +60 lines, -52 lines 0 comments Download
M lib/runtime/dart/core.js View 81 chunks +325 lines, -287 lines 0 comments Download
M lib/runtime/dart/isolate.js View 2 chunks +2 lines, -1 line 0 comments Download
M lib/runtime/dart/math.js View 6 chunks +23 lines, -20 lines 0 comments Download
M lib/runtime/dart/typed_data.js View 1 chunk +2 lines, -1 line 0 comments Download
D lib/runtime/dart_core.js View 1 chunk +0 lines, -67 lines 0 comments Download
M lib/runtime/dart_runtime.js View 1 chunk +2 lines, -1 line 0 comments Download
M lib/src/codegen/js_codegen.dart View 1 7 chunks +37 lines, -11 lines 0 comments Download
M lib/src/codegen/js_names.dart View 3 chunks +60 lines, -2 lines 0 comments Download
D lib/src/js/keywords.dart View 1 chunk +0 lines, -44 lines 0 comments Download
M lib/src/utils.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M test/codegen/expect/BenchmarkBase.js View 2 chunks +3 lines, -3 lines 0 comments Download
M test/codegen/expect/DeltaBlue.js View 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen/expect/names.js View 1 1 chunk +13 lines, -0 lines 0 comments Download
M test/codegen/expect/server_mode/html_input.html View 1 chunk +3 lines, -3 lines 0 comments Download
M test/codegen/names.dart View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Jennifer Messerly
5 years, 9 months ago (2015-03-27 21:12:52 UTC) #3
Jacob
lgtm https://codereview.chromium.org/1034273003/diff/20001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/1034273003/diff/20001/lib/src/codegen/js_codegen.dart#newcode2129 lib/src/codegen/js_codegen.dart:2129: name = '::$name'; FIXME: we should pick something ...
5 years, 9 months ago (2015-03-27 21:18:25 UTC) #4
Jennifer Messerly
good catch, I'm going to try to clean up the callers ... maybe there's another ...
5 years, 9 months ago (2015-03-27 21:36:41 UTC) #5
Jennifer Messerly
Committed patchset #2 (id:40001) manually as 1753b7085cca2b2cbc6b460b96ac5030ca9e5df1 (presubmit successful).
5 years, 8 months ago (2015-03-30 17:10:00 UTC) #6
Jennifer Messerly
5 years, 8 months ago (2015-03-30 17:10:11 UTC) #7
Message was sent while issue was closed.
discussed this, going to land with a TODO, as we can probably switch to a better
solution.

Powered by Google App Engine
This is Rietveld 408576698