Skip to content

Fix filter query derive when missing generic arguments #4535

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

Closed
wants to merge 1 commit into from

Conversation

vladbat00
Copy link
Contributor

Objective

Fixes #4533

Solution

The solution is to employ the hack with replacing the world lifetime with the fetch one only when the world lifetime exists.

This will become irrelevant with these changes: TheRawMeatball#40. But it might be a good candidate for the patch release.

@github-actions github-actions bot added the S-Needs-Triage This issue needs to be labelled label Apr 19, 2022
@alice-i-cecile alice-i-cecile added A-ECS Entities, components, systems, and events C-Bug An unexpected or incorrect behavior and removed S-Needs-Triage This issue needs to be labelled labels Apr 19, 2022
@BoxyUwU
Copy link
Member

BoxyUwU commented Apr 19, 2022

I think if this is to be merged it should only be as a backport and not to main as all it would do is cause merge conflcits for ptrification with not really any benefit

@vladbat00
Copy link
Contributor Author

@BoxyUwU sounds reasonable. Do we have a branch for the next point release? I can point the PR to it.

@alice-i-cecile
Copy link
Member

No branch yet. We should chat with @cart and the rest of the team to decide whether it's worth preparing one.

@BoxyUwU
Copy link
Member

BoxyUwU commented Apr 28, 2022

ptrification has landed so I think this PR is obsolete apologies if ive misunderstood :)

@BoxyUwU BoxyUwU closed this Apr 28, 2022
@vladbat00
Copy link
Contributor Author

Ok. But just poke me if you folks decide to make a 0.7.1 release :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ECS Entities, components, systems, and events C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"proc-macro derive panicked" when deriving WorldQuery.
3 participants