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

Issue 2827333003: Tighten up handling of JS types and add test. (Closed)

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

Description

Tighten up handling of JS types and add test. Side effect of this: Fix bug where helpers in js_mirrors were specifying that name had to have type String when it could really also be a JS Symbol as well. Fix bug where top level JS interop members using the external keyword but no @JS keyword were not implemented. Update js_typed_interop_test.dart so it can work in DDC. Add regression test for jsify call with native function type arguments. BUG= R=vsm@google.com Committed: https://github.com/dart-lang/sdk/commit/7149b90c7cee5ebb55479eae630a08f81a8c426d

Patch Set 1 #

Patch Set 2 : Tighten up handling of JS types. Fix bug where helpers in js_mirrors were specifying name had type … #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -23 lines) Patch
M pkg/dev_compiler/lib/sdk/ddc_sdk.sum View 1 Binary file 0 comments Download
M pkg/dev_compiler/lib/src/compiler/code_generator.dart View 1 1 chunk +1 line, -3 lines 0 comments Download
M pkg/dev_compiler/test/browser/language_tests.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/classes.dart View 1 1 chunk +7 lines, -2 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart View 1 2 chunks +3 lines, -2 lines 1 comment Download
M pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart View 1 2 chunks +3 lines, -3 lines 0 comments Download
M tests/lib_strong/html/js_test.dart View 1 1 chunk +6 lines, -1 line 0 comments Download
M tests/lib_strong/html/js_typed_interop_test.dart View 1 7 chunks +26 lines, -9 lines 1 comment Download

Messages

Total messages: 5 (2 generated)
Jacob
Tighten up handling of JS types. Fix bug where helpers in js_mirrors were specifying name ...
3 years, 8 months ago (2017-04-20 20:03:08 UTC) #2
vsm
lgtm https://codereview.chromium.org/2827333003/diff/10001/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/2827333003/diff/10001/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart#newcode453 pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart:453: if (actual == $jsobject && $isFunctionType(type) && typeof(obj) ...
3 years, 8 months ago (2017-04-21 12:35:58 UTC) #3
Jacob
3 years, 8 months ago (2017-04-21 15:44:12 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:10001) manually as
7149b90c7cee5ebb55479eae630a08f81a8c426d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698