Skip to content

Error in bidi transitions when returning a function #4974

@pushkine

Description

@pushkine

https://svelte.dev/repl/283d750225684048b26cf6880dfcea2d?version=3.23.0
Cannot read property 'r' of undefined

if (is_function(config)) {
wait().then(() => {
// @ts-ignore
config = config();
go(b);
});

wait.then resolves after check_outros meaning that outros will be the reassigned to its parent group, which is undefined in this case

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