-
Notifications
You must be signed in to change notification settings - Fork 21
Commit abfafc3
fix object destructuring with custom variable name
When doing object destructuring with a custom variable name (`{ obj_prop: var_name }`), we get an error: The generated code contains `var _vm.var_name = ref.obj_prop` which is invalid syntax. So we need to skip overwriting to add a `_vm.` to the variable name.
Fixes #6 1 parent 2e19d1c commit abfafc3
1 file changed
+2
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7025 | 7025 |
| |
7026 | 7026 |
| |
7027 | 7027 |
| |
7028 | + | ||
7029 | + | ||
7028 | 7030 |
| |
7029 | 7031 |
| |
7030 | 7032 |
| |
|
0 commit comments