Skip to content

Commit c9ee8df

Browse files
committed
apparently not?
1 parent b42a894 commit c9ee8df

File tree

1 file changed

+1
-4
lines changed
  • packages/svelte/src/compiler/phases/3-transform/client/visitors/shared

1 file changed

+1
-4
lines changed

packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,10 +387,7 @@ export function build_expression(context, expression, metadata) {
387387

388388
var getter = build_getter({ ...binding.node }, context.state);
389389

390-
// TODO do we need all this?
391-
if (binding.kind === 'rest_prop') {
392-
getter = b.call('Object.keys', getter);
393-
} else if (binding.kind === 'bindable_prop') {
390+
if (binding.kind === 'bindable_prop') {
394391
getter = b.call('$.deep_read_state', getter);
395392
}
396393

0 commit comments

Comments
 (0)