Skip to content

Reactivity Transform should respect const keyword #6992

@sxzz

Description

@sxzz

Vue version

3.2.41

Link to minimal reproduction

https://sfc.vuejs.org/#eNp9kE1qw0AMha+iDgW3EHuabXAC3fUG3cxmYivxhPlDGqcL47tXtkspLXSn9/T0IWlSrzk39xHVQbXckcsFGMuYTya6kBMVmIDwAjNcKAWoJFqZaGKXIhcIfIUjPErgqXpD7xO8J/L9Q/W8ZLQGHtLoe8DgCtgISJQIBiTcAbvY4UpwDBZWoI0F7pacPXtsTNzwRu1fjDKx1duCspqIgiF7W1AUQDvsT9O0wua51aJW18U8CrAOqUd/NEr6Rkmr1d/Taqe2O+tgc3PjFOUT0zJtvhps1AFWZ/Hk/kUbNZSS+aA1X7rlfzduEl21VA2NsbiADXKoz5Q+GEnARu1+MLSYd6SaMPbyDfqP+Sv6h7tgZxNnNX8CV7ifXg==

Steps to reproduce

Open the reproduction

What is expected?

Throw an error about const keyword.

What is actually happening?

No errors.

System Info

No response

Any additional comments?

Relate issue #6989

WIP: I'll make a PR later.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions