Skip to content

codegen: as possible as should be printing shorthand in ObjectProperty #4340

@Dunqing

Description

@Dunqing

See: rolldown/rolldown#1656 (comment)
Caused by #4319

In

const { foo } = obj;

Out

const { foo: foo } = obj;

Expected

const { foo } = obj;

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea - Code GenerationC-bugCategory - Bug

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions