Skip to content

Expand object/array literals in statement position #20

@bakkot

Description

@bakkot
({ x: foo(), y: bar() });

can and should be replaced with

foo();
bar();

Similarly for array literals.

This doesn't necessarily happen on its own, but can result from other transformations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions