Skip to content

Remove support for #[states(....)] macro attributes - #25805

Merged
alice-i-cecile merged 1 commit into
bevyengine:mainfrom
HuaGu-Dragon:remove_macro
Sep 16, 2026
Merged

alice-i-cecile merged 1 commit into
bevyengine:mainfrom
HuaGu-Dragon:remove_macro

Conversation

@HuaGu-Dragon

@HuaGu-Dragon HuaGu-Dragon commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Objective

Solution

@github-actions

Copy link
Copy Markdown
Contributor

Welcome, new contributor!

Please make sure you've read our contributing guide, as well as our policy regarding AI usage, and we look forward to reviewing your pull request shortly ✨

@hukasu

hukasu commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

On the previous attempt there were some examples that had the the attribute still, did you check for those?

@HuaGu-Dragon

HuaGu-Dragon commented Sep 16, 2026

Copy link
Copy Markdown
Contributor Author

some examples that had the the attribute

I think #25790 had removed it. And if others example have the the attribute still, I think it would failed to compile.

@hukasu

hukasu commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

ah, cool, i remember seeing those changes on the other attempt, but maybe they were not up to date with main

@alice-i-cecile alice-i-cecile left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Lovely, thanks <3

@alice-i-cecile alice-i-cecile added D-Trivial Nice and easy! A great choice to get started with Bevy C-Code-Quality A section of code that is hard to understand or change S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it A-States App-level states machines labels Sep 16, 2026
@alice-i-cecile
alice-i-cecile added this pull request to the merge queue Sep 16, 2026
@alice-i-cecile alice-i-cecile added this to the 0.20 milestone Sep 16, 2026
Merged via the queue into bevyengine:main with commit 605275d Sep 16, 2026
47 checks passed
@HuaGu-Dragon
HuaGu-Dragon deleted the remove_macro branch September 17, 2026 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-States App-level states machines C-Code-Quality A section of code that is hard to understand or change D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove support for #[states(scoped_entities)] macro annotation

3 participants