Skip to content

[Bug]: the name property of an anonymous default export function that is wrapped with a parenthesis #7154

@sapphi-red

Description

@sapphi-red

Reproduction link or steps

REPL

What is expected?

To have the __name(dep_default, "default"); call when output.keepNames is enabled.

What is actually happening?

__name(dep_default, "default"); is not output.

System Info

https://github.com/rolldown/rolldown/commit/6ca52aa9eb3f475cecfcb8c80ee9dd9425ca870c

Any additional comments?

The same issue exists with classes.

related #7150

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions