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

Issue 273723003: Assume a method can be torn off, if it's accessible through reflection. (Closed)

Created:
6 years, 7 months ago by floitsch
Modified:
6 years, 7 months ago
Reviewers:
Johnni Winther, herhut
CC:
reviews_dartlang.org, karlklose
Visibility:
Public.

Description

Assume a method can be torn off, if it's accessible through reflection. BUG= http://dartbug.com/18673 R=herhut@google.com, johnniwinther@google.com Committed: https://code.google.com/p/dart/source/detail?r=35962

Patch Set 1 #

Patch Set 2 : Add test. #

Total comments: 2

Patch Set 3 : Added check for operator. #

Patch Set 4 : More test and fixes. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -3 lines) Patch
M sdk/lib/_internal/compiler/implementation/js_emitter/container_builder.dart View 1 2 3 3 chunks +14 lines, -3 lines 2 comments Download
M sdk/lib/_internal/compiler/implementation/mirrors/dart2js_member_mirrors.dart View 1 2 3 1 chunk +1 line, -0 lines 2 comments Download
A tests/lib/mirrors/get_field_test.dart View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
floitsch
6 years, 7 months ago (2014-05-08 14:11:04 UTC) #1
herhut
LGTM w comment https://codereview.chromium.org/273723003/diff/20001/sdk/lib/_internal/compiler/implementation/js_emitter/container_builder.dart File sdk/lib/_internal/compiler/implementation/js_emitter/container_builder.dart (right): https://codereview.chromium.org/273723003/diff/20001/sdk/lib/_internal/compiler/implementation/js_emitter/container_builder.dart#newcode381 sdk/lib/_internal/compiler/implementation/js_emitter/container_builder.dart:381: compiler.codegenWorld.staticFunctionsNeedingGetter.contains(member) || long line
6 years, 7 months ago (2014-05-08 14:21:55 UTC) #2
floitsch
https://codereview.chromium.org/273723003/diff/20001/sdk/lib/_internal/compiler/implementation/js_emitter/container_builder.dart File sdk/lib/_internal/compiler/implementation/js_emitter/container_builder.dart (right): https://codereview.chromium.org/273723003/diff/20001/sdk/lib/_internal/compiler/implementation/js_emitter/container_builder.dart#newcode381 sdk/lib/_internal/compiler/implementation/js_emitter/container_builder.dart:381: compiler.codegenWorld.staticFunctionsNeedingGetter.contains(member) || On 2014/05/08 14:21:55, herhut wrote: > long ...
6 years, 7 months ago (2014-05-08 15:40:14 UTC) #3
floitsch
PTAL. @Karl, Johnni: is there a better way to know if an element is an ...
6 years, 7 months ago (2014-05-08 18:23:28 UTC) #4
floitsch
More tests and fixes.
6 years, 7 months ago (2014-05-09 07:02:21 UTC) #5
Johnni Winther
lgtm
6 years, 7 months ago (2014-05-09 07:04:25 UTC) #6
herhut
https://codereview.chromium.org/273723003/diff/60001/sdk/lib/_internal/compiler/implementation/js_emitter/container_builder.dart File sdk/lib/_internal/compiler/implementation/js_emitter/container_builder.dart (right): https://codereview.chromium.org/273723003/diff/60001/sdk/lib/_internal/compiler/implementation/js_emitter/container_builder.dart#newcode351 sdk/lib/_internal/compiler/implementation/js_emitter/container_builder.dart:351: return Elements.operatorNameToIdentifier(member.name) != member.name; Why do we use two ...
6 years, 7 months ago (2014-05-09 07:23:18 UTC) #7
floitsch
https://codereview.chromium.org/273723003/diff/60001/sdk/lib/_internal/compiler/implementation/js_emitter/container_builder.dart File sdk/lib/_internal/compiler/implementation/js_emitter/container_builder.dart (right): https://codereview.chromium.org/273723003/diff/60001/sdk/lib/_internal/compiler/implementation/js_emitter/container_builder.dart#newcode351 sdk/lib/_internal/compiler/implementation/js_emitter/container_builder.dart:351: return Elements.operatorNameToIdentifier(member.name) != member.name; On 2014/05/09 07:23:18, herhut wrote: ...
6 years, 7 months ago (2014-05-09 07:53:19 UTC) #8
floitsch
6 years, 7 months ago (2014-05-09 07:54:44 UTC) #9
floitsch
6 years, 7 months ago (2014-05-09 07:55:56 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 manually as r35962 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698