Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing async keyword of object method #6971

Closed
sxzz opened this issue Oct 27, 2022 · 0 comments · Fixed by #6972
Closed

missing async keyword of object method #6971

sxzz opened this issue Oct 27, 2022 · 0 comments · Fixed by #6972

Comments

@sxzz
Copy link
Member

sxzz commented Oct 27, 2022

Vue version

3.2.41

Link to minimal reproduction

https://sfc.vuejs.org/#eNo9UFtugzAQvIrlryAFUH6RS1WpB+gB/OOSBRzhh7xLUIR89y5O0r+d2Z3RzO7yK8bmvoLspMIh2UgCgdYoFuOnDy0Jtey1F2KzNH/DaNaF8HSF0Xr4SSGi2o+tEGMIn51gylkEZfyjqHJ/qs7idWLw4Yfj8FS9KSY3Y0lcnjAXTaW9ap9h2IQBgYuLISiWar70+y4cTiJn1TIqrPVxJXGvXbjCwsF5X5Kr9l8tz9K6GBLVzsTmhsFz6xJEvxZctntH05LfcmAtZ6KIXdviOBy/umET0tTy1KTVk3XQALr6N4UNIbGxlqWH9lnmPzIXdg4=

Steps to reproduce

Open reproduction

What is expected?

Emit no error.

What is actually happening?

Unexpected reserved word 'await'. (12:6)

System Info

No response

Any additional comments?

I will make a PR to fix it later.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant