Open
Description
Vue version
3.4.31
Link to minimal reproduction
Steps to reproduce
Parse the code
<template>
<template v-if="true" :key=""></template>
<template v-for="i in 1" :key=""></template>
</template>
What is expected?
Should throw v-bind is missing expression.
What is actually happening?
No errors, and producing invalid code: vuejs/language-tools#4539 (comment)
System Info
No response