-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Compiler crashes in some situations when the word "zoom?" is present #5830
Comments
This will be fine.Example<script lang="ts">
</script>
<script setup lang="ts">
interface Props {
// zoom?
a?: string;
}
const props = withDefaults(defineProps<Props>(), {
a: "a",
});
</script> |
this has nothing to do with |
@liulinboyi Moving the interface is recommended by Volar creator: |
@edison1105 |
I noticed this bug too, is the PR submitted by @edison1105 ready to be merged? I see that all checks passed, is it waiting for a specific approval? |
waiting for Evan's review. |
Is there any news on solving this error? |
I have a similar error, created a repository to show it |
Fixed by naming prop |
This problem still seems to exist. Any news on how to solve this? |
This is a documented feature and not working. I wonder why the fix still not merged, it has been 8 months..
Can you give more details? |
@azamat-sharapov I think I meant prop itself, not the variable. I think it should be called |
Version
3.2.33
Reproduction link
sfc.vuejs.org/
Steps to reproduce
The component (see the link) makes the compiler crash
It has something to do with the
What is expected?
The compiler compiles
What is actually happening?
The compiler crashes
The text was updated successfully, but these errors were encountered: