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

async transformer doesn't correctly detect need for semicolon in block #5808

Closed
danielroe opened this issue Apr 26, 2022 · 1 comment
Closed
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. scope: compiler scope: script-setup

Comments

@danielroe
Copy link
Member

danielroe commented Apr 26, 2022

Version

3.2.33

Reproduction link

sfc.vuejs.org/

Steps to reproduce

Nest an async call in a block following a string and it will not correctly detect that it needs a semicolon.

What is expected?

A semicolon should be inserted.

What is actually happening?

No semicolon is inserted.


Related:

@danielroe danielroe changed the title async transformer doesn't correctly detect need for semicolon in block async transformer doesn't correctly detect need for semicolon when indented Apr 26, 2022
@danielroe danielroe changed the title async transformer doesn't correctly detect need for semicolon when indented async transformer doesn't correctly detect need for semicolon in block Apr 26, 2022
liulinboyi added a commit to liulinboyi/core that referenced this issue Apr 26, 2022
liulinboyi added a commit to liulinboyi/core that referenced this issue Apr 27, 2022
@yyx990803 yyx990803 added the 🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. label May 13, 2022
yyx990803 pushed a commit that referenced this issue May 13, 2022
@yyx990803
Copy link
Member

closed via #5810

@github-actions github-actions bot locked and limited conversation to collaborators Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. scope: compiler scope: script-setup
Projects
None yet
3 participants