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.
When doing object destructuring with a custom variable name (
{ obj_prop: var_name }
), we get an error: The generated code containsvar _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