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

Issue 2623053004: Fix noSuchMethod handling of methods that are also extension methods. Fix noSuchMethod handling of … (Closed)

Created:
3 years, 11 months ago by Jacob
Modified:
3 years, 11 months ago
Reviewers:
Jennifer Messerly
CC:
reviews_dartlang.org, vsm
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix noSuchMethod handling of methods that are also extension methods. Fix noSuchMethod handling of methods with names that are rewritten in DDC e.g. "_get" instead of "[]" Fix some mirror system handling of symbols with names that are rewritten in DDC BUG= R=jmesserly@google.com Committed: https://github.com/dart-lang/sdk/commit/d90ed8c295da98b98e81f8abd97c5e51b499ce23

Patch Set 1 #

Total comments: 2

Patch Set 2 : respond to code review comments and mission creap #

Total comments: 8

Patch Set 3 : Fix noSuchMethod handling of methods that are also extension methods. Fix noSuchMethod handling of … #

Patch Set 4 : Fix noSuchMethod handling of methods that are also extension methods. Fix noSuchMethod handling of … #

Patch Set 5 : Fix noSuchMethod handling of methods that are also extension methods. Fix noSuchMethod handling of … #

Total comments: 11

Patch Set 6 : LATEST_PATCH #

Patch Set 7 : Fix noSuchMethod handling of methods that are also extension methods. Fix noSuchMethod handling of … #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2183 lines, -1079 lines) Patch
M pkg/dev_compiler/lib/js/amd/dart_sdk.js View 1 2 3 4 5 6 42 chunks +369 lines, -189 lines 0 comments Download
M pkg/dev_compiler/lib/js/common/dart_sdk.js View 1 2 3 4 5 6 42 chunks +369 lines, -189 lines 0 comments Download
M pkg/dev_compiler/lib/js/es6/dart_sdk.js View 1 2 3 4 5 6 22 chunks +334 lines, -154 lines 0 comments Download
M pkg/dev_compiler/lib/js/legacy/dart_sdk.js View 1 2 3 4 5 6 42 chunks +369 lines, -189 lines 0 comments Download
M pkg/dev_compiler/lib/sdk/ddc_sdk.sum View 1 2 3 4 5 6 Binary file 0 comments Download
M pkg/dev_compiler/lib/src/compiler/code_generator.dart View 1 2 3 4 5 6 9 chunks +58 lines, -45 lines 0 comments Download
M pkg/dev_compiler/test/browser/language_tests.js View 1 2 3 4 5 4 chunks +2 lines, -4 lines 0 comments Download
A pkg/dev_compiler/test/codegen/single_test.html View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/classes.dart View 1 11 chunks +94 lines, -25 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart View 1 2 3 4 5 6 6 chunks +69 lines, -8 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/runtime.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart View 1 2 3 4 5 4 chunks +233 lines, -222 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart View 1 20 chunks +91 lines, -52 lines 0 comments Download
A tests/corelib_strong/dynamic_nosuchmethod_test.dart View 1 2 3 1 chunk +77 lines, -0 lines 0 comments Download
M tests/language_strong/cast2_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/lib_strong/collection/list_test.dart View 1 1 chunk +117 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Jacob
https://codereview.chromium.org/2623053004/diff/1/pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart File pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart (right): https://codereview.chromium.org/2623053004/diff/1/pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart#newcode105 pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart:105: return name; Even without the code_generator.dart change, this code ...
3 years, 11 months ago (2017-01-11 03:10:39 UTC) #2
Jennifer Messerly
one question/suggestion but LGTM https://codereview.chromium.org/2623053004/diff/1/pkg/dev_compiler/lib/src/compiler/code_generator.dart File pkg/dev_compiler/lib/src/compiler/code_generator.dart (right): https://codereview.chromium.org/2623053004/diff/1/pkg/dev_compiler/lib/src/compiler/code_generator.dart#newcode1508 pkg/dev_compiler/lib/src/compiler/code_generator.dart:1508: _declareMemberName(method, useDisplayName: true), it might ...
3 years, 11 months ago (2017-01-11 03:25:44 UTC) #3
Jacob
On 2017/01/11 03:25:44, Jennifer Messerly wrote: > one question/suggestion but LGTM > > https://codereview.chromium.org/2623053004/diff/1/pkg/dev_compiler/lib/src/compiler/code_generator.dart > ...
3 years, 11 months ago (2017-01-21 00:44:15 UTC) #4
Jacob
https://codereview.chromium.org/2623053004/diff/20001/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/classes.dart File pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/classes.dart (left): https://codereview.chromium.org/2623053004/diff/20001/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/classes.dart#oldcode185 pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/classes.dart:185: getMethodTypeFromType(type, name) => JS( removed the getMethodType call that ...
3 years, 11 months ago (2017-01-21 01:11:30 UTC) #5
Jennifer Messerly
lgtm https://codereview.chromium.org/2623053004/diff/80001/pkg/dev_compiler/lib/src/compiler/code_generator.dart File pkg/dev_compiler/lib/src/compiler/code_generator.dart (right): https://codereview.chromium.org/2623053004/diff/80001/pkg/dev_compiler/lib/src/compiler/code_generator.dart#newcode1170 pkg/dev_compiler/lib/src/compiler/code_generator.dart:1170: // TODO(vsm): Remove was this code copied from ...
3 years, 11 months ago (2017-01-24 03:51:03 UTC) #6
Jacob
https://codereview.chromium.org/2623053004/diff/80001/pkg/dev_compiler/lib/src/compiler/code_generator.dart File pkg/dev_compiler/lib/src/compiler/code_generator.dart (right): https://codereview.chromium.org/2623053004/diff/80001/pkg/dev_compiler/lib/src/compiler/code_generator.dart#newcode1170 pkg/dev_compiler/lib/src/compiler/code_generator.dart:1170: // TODO(vsm): Remove On 2017/01/24 03:51:03, Jennifer Messerly wrote: ...
3 years, 11 months ago (2017-01-24 19:12:33 UTC) #7
Jacob
3 years, 11 months ago (2017-01-24 19:16:31 UTC) #9
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
d90ed8c295da98b98e81f8abd97c5e51b499ce23 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698