Closed
Description
Describe the bug
If two elements are assigned to the same slot, let
bindings on the first element are syntactically accepted, but don't actually introduce any bindings.
To Reproduce
https://svelte.dev/repl/193a784e481947979ee20f97a8fc8200?version=3.16.5
Expected behavior
The output should be:
A X
X
X
B X
but instead it's
undefined X
X
X
B X
Alternatively, a compiler error would be acceptable.
Severity
Low.