Skip to content

SSR: Should warning when using default slot with values inside #each, #await blocks #5865

@utherpally

Description

@utherpally

Describe the bug

From 1d6ac5e , we can inherit default slot values in named slots, but when using default slot inside #each, #await blocks, this will make an error xxx is not defined in runtime.
See repl:
https://svelte.dev/repl/f5da3404626a42329a63128c115933ef?version=3.31.2

Expected behavior
Warning or make it work correctly

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions