-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: compiler
Description
Vue version
@bdffc14
Link to minimal reproduction
Minimal I can find (edit to trigger error)
Steps to reproduce
The error comes from this line:
<div v-for="({ file: efile, line, column }, i) of task.result.error.stacks" :key="i" class="op80 flex gap-x-2 items-center" data-testid="stack">
If I remove file: efile
, then everything works. This bug is only reproducible in DEV.
What is expected?
No Error
What is actually happening?
Error: Invalid parenthesized assignment pattern
System Info
System:
OS: macOS 12.4
CPU: (8) arm64 Apple M1
Memory: 92.08 MB / 8.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.13.2 - ~/.nvm/versions/node/v16.13.2/bin/node
Yarn: 1.22.17 - ~/.nvm/versions/node/v16.13.2/bin/yarn
npm: 8.5.3 - ~/.nvm/versions/node/v16.13.2/bin/npm
Browsers:
Chrome: 102.0.5005.61
Firefox: 98.0.2
Firefox Developer Edition: 102.0
Safari: 15.5
Any additional comments?
The file comes from Vitest ui package.
Also, if you remove import from vue
in the second minimal reproduction, it suddenly works 👀
pleek91 and dkacperluisdeka and andreww2012
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: compiler