Skip to content

sfc compiles invalid code for nested await #4448

Closed
@QiroNT

Description

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

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