DescriptionChange 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/ #
Messages
Total messages: 14 (4 generated)
|