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

Issue 1059583002: Extension method support to move us closer to a valid List implementation. (Closed)

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

Extension method support to move us closer to a valid List implementation. BUG= R=jmesserly@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/67519d1237191fbeac00b2243bd392d59f6e3866

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : #

Total comments: 45

Patch Set 4 : ptal #

Patch Set 5 : ptal #

Patch Set 6 : ptal #

Patch Set 7 : done #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1739 lines, -1850 lines) Patch
M lib/runtime/dart/_interceptors.js View 9 chunks +28 lines, -365 lines 0 comments Download
M lib/runtime/dart/_internal.js View 51 chunks +280 lines, -280 lines 0 comments Download
M lib/runtime/dart/_isolate_helper.js View 1 2 3 4 23 chunks +48 lines, -48 lines 0 comments Download
M lib/runtime/dart/_js_helper.js View 1 2 3 4 32 chunks +75 lines, -75 lines 0 comments Download
M lib/runtime/dart/_native_typed_data.js View 28 chunks +175 lines, -175 lines 0 comments Download
M lib/runtime/dart/async.js View 1 2 3 4 102 chunks +163 lines, -163 lines 0 comments Download
M lib/runtime/dart/collection.js View 1 2 3 4 110 chunks +462 lines, -462 lines 0 comments Download
M lib/runtime/dart/convert.js View 1 2 3 4 48 chunks +113 lines, -113 lines 0 comments Download
M lib/runtime/dart/core.js View 40 chunks +105 lines, -74 lines 0 comments Download
M lib/runtime/dart/isolate.js View 1 chunk +2 lines, -2 lines 0 comments Download
M lib/src/codegen/js_codegen.dart View 1 2 3 4 5 6 27 chunks +176 lines, -51 lines 0 comments Download
M test/codegen/expect/BenchmarkBase.js View 1 chunk +4 lines, -4 lines 0 comments Download
M test/codegen/expect/DeltaBlue.js View 10 chunks +30 lines, -30 lines 0 comments Download
M test/codegen/expect/cascade.js View 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen/expect/names.js View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M test/dart_codegen/expect/core/annotations.dart View 1 chunk +12 lines, -0 lines 0 comments Download
M test/dart_codegen/expect/core/iterable.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M test/dart_codegen/expect/core/list.dart View 1 chunk +1 line, -1 line 0 comments Download
M test/generated_sdk/lib/_internal/compiler/js_lib/js_array.dart View 1 chunk +2 lines, -1 line 0 comments Download
M test/generated_sdk/lib/core/annotations.dart View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
M test/generated_sdk/lib/core/iterable.dart View 1 chunk +1 line, -0 lines 0 comments Download
M test/generated_sdk/lib/core/list.dart View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M tool/input_sdk/lib/core/annotations.dart View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
M tool/input_sdk/lib/core/iterable.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tool/input_sdk/lib/core/list.dart View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M tool/input_sdk/private/js_array.dart View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 12 (2 generated)
Jacob
The Array/List class isn't fully hooked up yet. The codegen for call sites and for ...
5 years, 8 months ago (2015-04-02 20:07:03 UTC) #2
Jennifer Messerly
At a high level, this looks amazing :) Here are some style/factoring comments. Let me ...
5 years, 8 months ago (2015-04-03 16:25:29 UTC) #3
Jennifer Messerly
oops forgot one comment https://codereview.chromium.org/1059583002/diff/40001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/1059583002/diff/40001/lib/src/codegen/js_codegen.dart#newcode2283 lib/src/codegen/js_codegen.dart:2283: // methods names and regular ...
5 years, 8 months ago (2015-04-03 16:28:28 UTC) #4
vsm
nice! https://codereview.chromium.org/1059583002/diff/40001/test/generated_sdk/lib/core/annotations.dart File test/generated_sdk/lib/core/annotations.dart (right): https://codereview.chromium.org/1059583002/diff/40001/test/generated_sdk/lib/core/annotations.dart#newcode9 test/generated_sdk/lib/core/annotations.dart:9: class JsName { Can you explain the use ...
5 years, 8 months ago (2015-04-03 16:41:20 UTC) #6
Jacob
ptal https://codereview.chromium.org/1059583002/diff/40001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/1059583002/diff/40001/lib/src/codegen/js_codegen.dart#newcode80 lib/src/codegen/js_codegen.dart:80: List<InterfaceType> get _JsExtensionMethodTypes => On 2015/04/03 16:25:28, John ...
5 years, 8 months ago (2015-04-03 20:25:59 UTC) #7
Jennifer Messerly
I got a suggestion to fix the TODO in _isInterfaceSubTypeOf, otherwise LGTM. https://codereview.chromium.org/1059583002/diff/40001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart ...
5 years, 8 months ago (2015-04-03 21:08:06 UTC) #8
vsm
https://codereview.chromium.org/1059583002/diff/40001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/1059583002/diff/40001/lib/src/codegen/js_codegen.dart#newcode528 lib/src/codegen/js_codegen.dart:528: // TODO(jacobr): why doesn't the generic i1.isSubTypeOf(i2) work? On ...
5 years, 8 months ago (2015-04-03 21:15:36 UTC) #9
Jacob
ptal. Substituted dynamic args and switched to rules.isSubTypeOf
5 years, 8 months ago (2015-04-03 21:41:26 UTC) #10
Jacob
Committed patchset #7 (id:120001) manually as 67519d1237191fbeac00b2243bd392d59f6e3866 (presubmit successful).
5 years, 8 months ago (2015-04-03 21:52:09 UTC) #11
Jennifer Messerly
5 years, 8 months ago (2015-04-03 22:09:55 UTC) #12
Message was sent while issue was closed.
Looks great!

Powered by Google App Engine
This is Rietveld 408576698