c033dd24af
Tearoffs are now represented as a closure that resolves an underlying bound context and property on access. `_boundMethod` and RTI getters must also be evaluated late. Additionally, we now both canonicalize static methods and tag them with their types at class-declaration time (though lazily) - so that late resolved closures have access to their types. Some tests have been updated to expect simpler errors. DDC traditionally emits slightly different errors that might aid in debugging. Change-Id: I1f762b8df45e0766d16dbc8688073768c8bfd233 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/401321 Reviewed-by: Nicholas Shahan <nshahan@google.com> Commit-Queue: Mark Zhou <markzipan@google.com>