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

Issue 2923653003: Change MethodInvocation.interfaceTarget from a Procedure to a Member. (Closed)

Created:
3 years, 6 months ago by Paul Berry
Modified:
3 years, 6 months ago
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Change MethodInvocation.interfaceTarget from a Procedure to a Member. It's possible for the interface target to be a field, e.g.: typedef void F(); class C { F f; } void g(C c) { c.f(); // Interface target is C::f } Also, this CL fixes MethodInvocation.getStaticType() in the case where the interface target is a getter. R=dmitryas@google.com, kmillikin@google.com, scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/5c3dd4b11b2c9665b263ad8a0bde9e96f7f2529b

Patch Set 1 #

Patch Set 2 : Update after https://codereview.chromium.org/2920223008/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -72 lines) Patch
M pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart View 1 2 chunks +2 lines, -7 lines 0 comments Download
M pkg/front_end/testcases/inference/downwards_inference_on_list_literals_infer_if_value_types_match_context.dart.strong.expect View 1 3 chunks +5 lines, -5 lines 0 comments Download
M pkg/kernel/lib/ast.dart View 2 chunks +14 lines, -8 lines 0 comments Download
M pkg/kernel/lib/type_checker.dart View 6 chunks +61 lines, -52 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
Paul Berry
Konstantin, can you do a preliminary review since you're in US pacific time? I won't ...
3 years, 6 months ago (2017-06-05 21:25:38 UTC) #2
scheglov
LGTM
3 years, 6 months ago (2017-06-05 21:30:48 UTC) #3
Paul Berry
+jensj since Kevin is on vacation
3 years, 6 months ago (2017-06-06 03:01:40 UTC) #5
jensj
Sorry, but I don't feel qualified to review this. (For one thing I have no ...
3 years, 6 months ago (2017-06-06 06:51:38 UTC) #6
Dmitry Stefantsov
LGTM. However, I'd wait for Kevin's opinion on that, because the changes may interfere with ...
3 years, 6 months ago (2017-06-06 07:39:18 UTC) #7
ahe
Would it make more sense to change how Fasta generates code for this example? If ...
3 years, 6 months ago (2017-06-06 11:21:18 UTC) #9
Paul Berry
On 2017/06/06 11:21:18, ahe wrote: > Would it make more sense to change how Fasta ...
3 years, 6 months ago (2017-06-06 16:00:50 UTC) #10
Paul Berry
On 2017/06/06 16:00:50, Paul Berry wrote: > On 2017/06/06 11:21:18, ahe wrote: > > Would ...
3 years, 6 months ago (2017-06-07 14:01:37 UTC) #11
Kevin Millikin (Google)
I do like Peter's suggestion, but consistency is a strong argument. Maybe we'll decide to ...
3 years, 6 months ago (2017-06-07 15:11:14 UTC) #12
Paul Berry
3 years, 6 months ago (2017-06-07 16:20:58 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
5c3dd4b11b2c9665b263ad8a0bde9e96f7f2529b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698