Now that we have removed source locations from invocations, we could merge tearoffs and static calls without any const arguments. (Ditto for constructor tearoffs and constructor non-const calls without any const arguments.)
We could then potentially simplify the implementation in the Dart SDK to instead of tracking tearoff invocations, simply track the call in the synthesized tear-off body.
cc @johnniwinther @goderbauer @biggs0125
(Marking this as low prio, we can take a look at this again before a v1 release.)
Now that we have removed source locations from invocations, we could merge tearoffs and static calls without any const arguments. (Ditto for constructor tearoffs and constructor non-const calls without any const arguments.)
We could then potentially simplify the implementation in the Dart SDK to instead of tracking tearoff invocations, simply track the call in the synthesized tear-off body.
cc @johnniwinther @goderbauer @biggs0125
(Marking this as low prio, we can take a look at this again before a v1 release.)