Version
3.2.11
Reproduction link
sfc.vuejs.org/
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).