Incorrect error message when <script>
<script setup>
has different languages
#13193
Labels
<script>
<script setup>
has different languages
#13193
Vue version
3.5.13
Link to minimal reproduction
https://play.vuejs.org/#eNp9kcFKxDAQhl8l5qRQWpbqpbQFlQX1oKKCl4CUdqxd0yQk01pY+u5OUnZdRb0l838z88/Mlp8bE48D8IznrradQSYr1RaCoxO8FAomoy2yWiuHrGIFWwmVJwtKMn1+pk2CMwc4GJKXtEvdG8o8PmFFyXJTXoGUOmLP2srmKE88+L0kQm9khUA/xvKQngToQOAR9aL6r10bb5xWNMHW44LXxHcS7J3BjvoLnrGgeK2izh83IYZ2gGgXr9+gfv8lvvHjZPS4t+DAjiD4XsPKtoCLvH68hYnee7HXzSCJ/kd8AKfl4D0u2MWgGrJ9wAW3172/QKfaJ7eeEJTbDeWNenIOvOB0Rr+qv0b/spvGpyFPqJm2+DKC9TVpgWl8Fq9SPn8CK16u/w==
Steps to reproduce
See the reproduction.
What is expected?
report
Error: [@vue/compiler-sfc] <script> and <script setup> must have the same language type.
rather than random errors.What is actually happening?
it reports
SyntaxError
System Info
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: