diff --git a/src/compiler/compile/nodes/Binding.ts b/src/compiler/compile/nodes/Binding.ts index af2d279bf3..bcb07280b0 100644 --- a/src/compiler/compile/nodes/Binding.ts +++ b/src/compiler/compile/nodes/Binding.ts @@ -60,7 +60,7 @@ export default class Binding extends Node { scope.dependencies_for_name.get(name).forEach(name => { const variable = component.var_lookup.get(name); if (variable) { - variable['mutated'] = true; + variable.mutated = true; } }); } else {