Skip to content

Commit d73c4d5

Browse files
committed
fix: improve event delegation with shadowed bindings
1 parent e104cfb commit d73c4d5

File tree

1 file changed

+0
-1
lines changed
  • packages/svelte/src/compiler/phases/2-analyze

1 file changed

+0
-1
lines changed

packages/svelte/src/compiler/phases/2-analyze/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ function get_delegated_event(event_name, handler, context) {
180180

181181
// If we are referencing a binding that is shadowed in another scope then bail out.
182182
if (local_binding !== null && binding !== null && local_binding.node !== binding.node) {
183-
debugger;
184183
return non_hoistable;
185184
}
186185

0 commit comments

Comments
 (0)