Skip to content

Renaming destructured props fails in some cases #5425

@sqal

Description

@sqal

Version

3.2.31

Reproduction link

SFC Playground

Steps to reproduce

Just look at the compiled code in JS tab

What is expected?

"onUpdate:values": __props['onUpdate:values']

What is actually happening?

Reference to the renamed prop is not correct

"onUpdate:values": __props.undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.🐞 bugSomething isn't workingscope: script-setup

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions