Skip to content

[record_use] Dart API & JSON: Unify tearoffs and calls without const arguments #3189

@dcharkes

Description

@dcharkes

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions