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

Issue 2423313002: Emulate compiling a source file in the context of an existing library. Add --debugger-compile flag … (Closed)

Created:
4 years, 2 months ago by Jacob
Modified:
4 years, 2 months ago
CC:
dev-compiler+reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Emulate compiling a source file in the context of an existing library. Add --debugger-compile flag that performs permissive dynamic calls on private members. Polish web_command.dart adding the ability to evaluate code in the context of an existing library. BUG= R=brianwilkerson@google.com, jmesserly@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/4f6ce11bc8aebf3e3234aa65a8cce5fdfc12c604

Patch Set 1 #

Total comments: 7

Patch Set 2 : Code review comments. #

Patch Set 3 : Code review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+433 lines, -77 lines) Patch
M pkg/dev_compiler/lib/js/amd/dart_sdk.js View 1 2 chunks +38 lines, -1 line 0 comments Download
M pkg/dev_compiler/lib/js/common/dart_sdk.js View 1 2 chunks +38 lines, -1 line 0 comments Download
M pkg/dev_compiler/lib/js/es6/dart_sdk.js View 1 2 chunks +38 lines, -1 line 0 comments Download
M pkg/dev_compiler/lib/js/legacy/dart_sdk.js View 1 2 chunks +38 lines, -1 line 0 comments Download
M pkg/dev_compiler/lib/src/compiler/code_generator.dart View 2 5 chunks +21 lines, -7 lines 0 comments Download
M pkg/dev_compiler/lib/src/compiler/compiler.dart View 1 8 chunks +29 lines, -2 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart View 1 27 chunks +148 lines, -51 lines 0 comments Download
M pkg/dev_compiler/web/main.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/dev_compiler/web/web_command.dart View 1 6 chunks +81 lines, -11 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
Jacob
Sorry for the extra diff in operations.dart. My code editor is set to autorun the ...
4 years, 2 months ago (2016-10-18 04:21:55 UTC) #2
Jacob
I still owe a test for this code that verifies that privates outside of the ...
4 years, 2 months ago (2016-10-18 04:45:51 UTC) #3
Jennifer Messerly
LGTM for dev_comiler changes, but I'd be curious what Brian thinks about the `Scope.PRIVATE_NAME_PREFIX = ...
4 years, 2 months ago (2016-10-18 18:46:01 UTC) #5
Brian Wilkerson
lgtm https://codereview.chromium.org/2423313002/diff/1/pkg/dev_compiler/web/web_command.dart File pkg/dev_compiler/web/web_command.dart (right): https://codereview.chromium.org/2423313002/diff/1/pkg/dev_compiler/web/web_command.dart#newcode158 pkg/dev_compiler/web/web_command.dart:158: Scope.PRIVATE_NAME_PREFIX = -1; I agree, this seems brittle. ...
4 years, 2 months ago (2016-10-18 19:16:44 UTC) #6
Jacob
4 years, 2 months ago (2016-10-18 23:34:56 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
4f6ce11bc8aebf3e3234aa65a8cce5fdfc12c604 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698