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

Issue 1156273010: fixes browser/runtime_test, and a few extension member fixes (Closed)

Created:
5 years, 6 months ago by Jennifer Messerly
Modified:
5 years, 6 months ago
Reviewers:
vsm, Leaf
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

fixes browser/runtime_test, and a few of extension member fixes * fixes generic List. Because generic arrays have the proto of JSArray, which itself extends Array, we need to make sure we don't override members from Array. * fixes tear offs, they were not preserving type signatures in some cases. This doesn't change how we store signatures, but perhaps something we could consider, to make this bug less likely. * the defineExtensionMembers call was not getting emitted unless the type implemented at least one interface. R=leafp@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/b8f6240286e2a81bf7d97e8933cebdb01eb06d7d

Patch Set 1 #

Total comments: 7

Patch Set 2 : #

Patch Set 3 : reword comment #

Patch Set 4 : merged & format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+735 lines, -554 lines) Patch
M lib/runtime/dart/_interceptors.js View 1 2 3 49 chunks +354 lines, -246 lines 0 comments Download
M lib/runtime/dart/_internal.js View 1 2 3 19 chunks +91 lines, -67 lines 0 comments Download
M lib/runtime/dart/_js_helper.js View 1 2 3 3 chunks +2 lines, -1 line 0 comments Download
M lib/runtime/dart/_native_typed_data.js View 1 2 3 26 chunks +14 lines, -13 lines 0 comments Download
M lib/runtime/dart/collection.js View 1 2 3 31 chunks +198 lines, -183 lines 0 comments Download
M lib/runtime/dart/convert.js View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M lib/runtime/dart/core.js View 1 2 3 10 chunks +7 lines, -6 lines 0 comments Download
M lib/runtime/dart_runtime.js View 1 2 8 chunks +27 lines, -11 lines 0 comments Download
M lib/src/codegen/js_codegen.dart View 1 2 3 9 chunks +34 lines, -22 lines 0 comments Download
M test/browser/index.html View 1 chunk +3 lines, -1 line 0 comments Download
M test/browser/runtime_tests.js View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Jennifer Messerly
https://codereview.chromium.org/1156273010/diff/1/lib/runtime/dart/_interceptors.js File lib/runtime/dart/_interceptors.js (right): https://codereview.chromium.org/1156273010/diff/1/lib/runtime/dart/_interceptors.js#newcode26 lib/runtime/dart/_interceptors.js:26: [dart.extensionMember('checkGrowable')](reason) { this is kind of ugly/confusing. Alternatively, we ...
5 years, 6 months ago (2015-06-05 19:06:17 UTC) #2
Leaf
lgtm https://codereview.chromium.org/1156273010/diff/1/lib/runtime/dart/_interceptors.js File lib/runtime/dart/_interceptors.js (right): https://codereview.chromium.org/1156273010/diff/1/lib/runtime/dart/_interceptors.js#newcode26 lib/runtime/dart/_interceptors.js:26: [dart.extensionMember('checkGrowable')](reason) { On 2015/06/05 19:06:17, John Messerly wrote: ...
5 years, 6 months ago (2015-06-05 20:42:24 UTC) #3
Jennifer Messerly
https://codereview.chromium.org/1156273010/diff/1/lib/runtime/dart/_interceptors.js File lib/runtime/dart/_interceptors.js (right): https://codereview.chromium.org/1156273010/diff/1/lib/runtime/dart/_interceptors.js#newcode26 lib/runtime/dart/_interceptors.js:26: [dart.extensionMember('checkGrowable')](reason) { On 2015/06/05 20:42:23, Leaf wrote: > On ...
5 years, 6 months ago (2015-06-05 21:08:57 UTC) #4
Jennifer Messerly
https://codereview.chromium.org/1156273010/diff/1/lib/runtime/dart_runtime.js File lib/runtime/dart_runtime.js (right): https://codereview.chromium.org/1156273010/diff/1/lib/runtime/dart_runtime.js#newcode828 lib/runtime/dart_runtime.js:828: // Ensure the signature is available too. On 2015/06/05 ...
5 years, 6 months ago (2015-06-05 21:10:34 UTC) #5
Leaf
https://codereview.chromium.org/1156273010/diff/1/lib/runtime/dart_runtime.js File lib/runtime/dart_runtime.js (right): https://codereview.chromium.org/1156273010/diff/1/lib/runtime/dart_runtime.js#newcode828 lib/runtime/dart_runtime.js:828: // Ensure the signature is available too. On 2015/06/05 ...
5 years, 6 months ago (2015-06-05 21:34:44 UTC) #6
Jennifer Messerly
thanks! updated to define the symbols first and tried to improve wording on that comment ...
5 years, 6 months ago (2015-06-05 23:20:41 UTC) #7
Jennifer Messerly
5 years, 6 months ago (2015-06-05 23:22:43 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
b8f6240286e2a81bf7d97e8933cebdb01eb06d7d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698