Skip to content

Duplicate slot name #6061

Closed as not planned
Closed as not planned
@larryosborn

Description

@larryosborn

Describe the bug
Using multiple slots with the same name is now an error. Previously in version 3.34.0 this would render the slots.

To Reproduce
The repl examples below are the same code, but with different svelte versions.

Expected behavior
With all the work recently on slots, I'm not sure if this would be a regression or intended behavior moving forward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions