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

sfc compiles invalid code for nested await #4448

Closed
QiroNT opened this issue Aug 26, 2021 · 0 comments · Fixed by #4458
Closed

sfc compiles invalid code for nested await #4448

QiroNT opened this issue Aug 26, 2021 · 0 comments · Fixed by #4458

Comments

@QiroNT
Copy link

QiroNT commented Aug 26, 2021

Version

3.2.6

Reproduction link

https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbmF3YWl0IChhd2FpdCAxKVxuPC9zY3JpcHQ+XG4ifQ==

Steps to reproduce

  1. write a nested await
  2. compile

What is expected?

The code runs as normal.

What is actually happening?

The code is invalid.


image

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.

2 participants