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

compile time error on slotted content inside if/each blocks. closes #849 #852

Merged
merged 1 commit into from
Sep 16, 2017

Conversation

Rich-Harris
Copy link
Member

This closes #849. It doesn't fix it, it just causes a validation error to be thrown if slot='foo' is encountered inside an if or each block.

Maybe we could actually make that work in future, but going through it in my head just now it seemed like it would be rather complex. As @mrkishi says, it's relatively easy to work around.

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

Successfully merging this pull request may close these issues.

Conditional slot errors at runtime
1 participant