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

CompilerDOM.compile incorrectly parsing <template v-if="true" :key> #11321

Open
so1ve opened this issue Jul 9, 2024 · 0 comments · May be fixed by #12298
Open

CompilerDOM.compile incorrectly parsing <template v-if="true" :key> #11321

so1ve opened this issue Jul 9, 2024 · 0 comments · May be fixed by #12298
Labels
language-tools related to vue language-tools scope: compiler

Comments

@so1ve
Copy link
Member

so1ve commented Jul 9, 2024

Vue version

3.4.31

Link to minimal reproduction

https://ast.sxzz.moe/#eNpVjMEKwjAQRH8l7KWXBg/eQu03eDceJK4STDZLsimW0n83UhDLXGaGx1sggIGpIvTAWzvqe4rapcg+fG/X7kEwcrgJjpaU+i01af84WZBc0YIyL5zH4fDH7kZzpebKKDWTWixZ2YJvzliKT3QO9empGHXpZGYsLnuW7to3llZYP8C1PHY=

Steps to reproduce

<template>
  <template v-if="true" :key></template>
</template>

What is expected?

Should produce userKey in ast.

What is actually happening?

It doesn't

System Info

No response

Any additional comments?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language-tools related to vue language-tools scope: compiler
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants