Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

each_else.i is not a function #1559

Closed
PaulMaly opened this issue Jun 24, 2018 · 3 comments
Closed

each_else.i is not a function #1559

PaulMaly opened this issue Jun 24, 2018 · 3 comments
Labels

Comments

@PaulMaly
Copy link
Contributor

REPL: https://svelte.technology/repl?version=2.8.1&gist=d929e4517407a49609079c0fabc4ad0f

Only if an array is empty.

@Conduitry
Copy link
Member

Interesting. This has something to do with there being a nested component in the main {#each} part but not in the {:else}. I'll have to dig a bit more to figure out which methods are supposed to be defined on which fragments.

@Conduitry Conduitry added the bug label Jun 24, 2018
@PaulMaly
Copy link
Contributor Author

@Conduitry Yes, it's related to a nested component. Without it, everything works.

@Conduitry
Copy link
Member

Fixed in 2.9.3, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants