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

xilem_web: Fix issue with downcasting to a wrong type transitively from AnyView #505

Conversation

Philipp-M
Copy link
Contributor

This should fix the issue described in #440 by adding the type of the Children ViewSequence to the type of element, which results in unique types, so AnyView should not cause issues anymore. Fortunately there's no regression with the compilation times here, so an AnyViewSequence doesn't seem to be necessary in that case.

Copy link
Member

@DJMcNab DJMcNab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optimistic approval for Xilem Web

@Philipp-M
Copy link
Contributor Author

Thanks, yeah it was already confirmed that this fixes the issue

@Philipp-M Philipp-M added this pull request to the merge queue Aug 12, 2024
Merged via the queue into linebender:main with commit c9dbb21 Aug 12, 2024
17 checks passed
@Philipp-M Philipp-M deleted the xilem_web-fix-type-erasure-of-dom-viewsequence branch August 12, 2024 08:41
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.

2 participants