SFC top level await with single-line if condition is being compiled incorrectly
Version
3.2.11
Reproduction link
Steps to reproduce
Check the JavaScript console output in the reproduction link.
What is expected?
The console.error()
should never be executed.
What is actually happening?
The console.error()
is being executed when a single-line if
statement is used (it works correctly with if
statements that have curly brackets).