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

Issue 2703263002: Custom formatter cleanup Fix case where displaying a class constructor generated unreadable huge ou… (Closed)

Created:
3 years, 10 months ago by Jacob
Modified:
3 years, 9 months ago
Reviewers:
vsm
CC:
dev-compiler+reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Custom formatter cleanup Fix case where displaying a class constructor generated unreadable huge output. Fix case where exceptions were throw. Correct display of statics, fix indentation bugs. Add improved custom formatter test to main repro. As a drive by fix, switch hashCode to use a symbol instead of the name $identityHash as $identityHash was making custom formatter test output unstable. BUG= R=vsm@google.com Committed: https://github.com/dart-lang/sdk/commit/a6a206062d603e90955c575c04b3981de6218c61

Patch Set 1 #

Total comments: 6

Patch Set 2 : Custom formatter cleanup Fix case where displaying a class constructor generated unreadable huge ou… #

Patch Set 3 : Custom formatter cleanup Fix case where displaying a class constructor generated unreadable huge ou… #

Patch Set 4 : Custom formatter cleanup Fix case where displaying a class constructor generated unreadable huge ou… #

Total comments: 2

Patch Set 5 : Custom formatter cleanup Fix case where displaying a class constructor generated unreadable huge ou… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9890 lines, -786 lines) Patch
M pkg/dev_compiler/lib/js/amd/dart_sdk.js View 1 2 3 4 26 chunks +192 lines, -150 lines 0 comments Download
M pkg/dev_compiler/lib/js/common/dart_sdk.js View 1 2 3 4 26 chunks +192 lines, -150 lines 0 comments Download
M pkg/dev_compiler/lib/js/es6/dart_sdk.js View 1 2 3 4 26 chunks +192 lines, -150 lines 0 comments Download
M pkg/dev_compiler/lib/js/legacy/dart_library.js View 1 2 3 3 chunks +1 line, -7 lines 0 comments Download
M pkg/dev_compiler/lib/js/legacy/dart_sdk.js View 1 2 3 4 26 chunks +192 lines, -150 lines 0 comments Download
M pkg/dev_compiler/lib/sdk/ddc_sdk.sum View 1 2 Binary file 0 comments Download
M pkg/dev_compiler/lib/src/compiler/code_generator.dart View 1 2 6 chunks +57 lines, -2 lines 0 comments Download
M pkg/dev_compiler/test/browser/language_tests.js View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M pkg/dev_compiler/test/codegen_expected/BenchmarkBase.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M pkg/dev_compiler/test/codegen_expected/async_helper.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M pkg/dev_compiler/test/codegen_expected/closure.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M pkg/dev_compiler/test/codegen_expected/destructuring.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M pkg/dev_compiler/test/codegen_expected/es6_modules.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M pkg/dev_compiler/test/codegen_expected/map_keys.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M pkg/dev_compiler/test/codegen_expected/node_modules.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M pkg/dev_compiler/test/codegen_expected/script.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M pkg/dev_compiler/test/codegen_expected/varargs.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart View 1 1 chunk +6 lines, -0 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/rtti.dart View 1 2 3 chunks +24 lines, -3 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart View 1 2 chunks +8 lines, -2 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/debugger.dart View 1 2 3 4 13 chunks +192 lines, -169 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/js_helper.dart View 2 chunks +4 lines, -2 lines 0 comments Download
A tests/lib_strong/html/debugger_test.dart View 1 2 1 chunk +8816 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Jacob
Custom formatter cleanup Fix case where displaying a class constructor generated unreadable huge output. Fix ...
3 years, 10 months ago (2017-02-20 22:47:42 UTC) #2
Jacob
https://codereview.chromium.org/2703263002/diff/1/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart File pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart (right): https://codereview.chromium.org/2703263002/diff/1/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart#newcode885 pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart:885: var type = getReifiedType(obj); this is the most questionable ...
3 years, 10 months ago (2017-02-20 22:48:54 UTC) #3
vsm
https://codereview.chromium.org/2703263002/diff/1/pkg/dev_compiler/lib/js/legacy/dart_library.js File pkg/dev_compiler/lib/js/legacy/dart_library.js (right): https://codereview.chromium.org/2703263002/diff/1/pkg/dev_compiler/lib/js/legacy/dart_library.js#newcode99 pkg/dev_compiler/lib/js/legacy/dart_library.js:99: this._library[dartLibraryName] = this._name; Can this be moved to code_generator.dart ...
3 years, 10 months ago (2017-02-21 14:33:00 UTC) #4
Jacob
https://codereview.chromium.org/2703263002/diff/1/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart File pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart (right): https://codereview.chromium.org/2703263002/diff/1/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart#newcode885 pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart:885: var type = getReifiedType(obj); On 2017/02/21 14:33:00, vsm wrote: ...
3 years, 10 months ago (2017-02-21 17:41:16 UTC) #5
vsm
lgtm, but see previous comment on dart_library.js on patch 1.
3 years, 10 months ago (2017-02-22 00:32:13 UTC) #6
Jacob
Added a new trackLibraries method to rtti.dart along with code_generator changes. dart_library.js is now out ...
3 years, 9 months ago (2017-02-28 23:52:13 UTC) #7
vsm
lgtm https://codereview.chromium.org/2703263002/diff/60001/pkg/dev_compiler/tool/input_sdk/private/debugger.dart File pkg/dev_compiler/tool/input_sdk/private/debugger.dart (right): https://codereview.chromium.org/2703263002/diff/60001/pkg/dev_compiler/tool/input_sdk/private/debugger.dart#newcode577 pkg/dev_compiler/tool/input_sdk/private/debugger.dart:577: // the library rather than sorting library entries. ...
3 years, 9 months ago (2017-03-01 00:59:27 UTC) #8
Jacob
https://codereview.chromium.org/2703263002/diff/60001/pkg/dev_compiler/tool/input_sdk/private/debugger.dart File pkg/dev_compiler/tool/input_sdk/private/debugger.dart (right): https://codereview.chromium.org/2703263002/diff/60001/pkg/dev_compiler/tool/input_sdk/private/debugger.dart#newcode577 pkg/dev_compiler/tool/input_sdk/private/debugger.dart:577: // the library rather than sorting library entries. On ...
3 years, 9 months ago (2017-03-01 01:32:04 UTC) #9
Jacob
3 years, 9 months ago (2017-03-01 01:48:03 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
a6a206062d603e90955c575c04b3981de6218c61 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698