dont overwrite const props

pull/3539/head
Richard Harris 6 years ago
parent 0d8bdee83c
commit cd83265fa8

@ -881,7 +881,7 @@ export default class Component {
const { name } = declarator.id;
const variable = component.var_lookup.get(name);
if (variable.export_name) {
if (variable.export_name && variable.writable) {
const insert = variable.subscribable
? get_insert(variable)
: null;

Loading…
Cancel
Save