Skip to content

Use disqualified for B0001#16623

Merged
alice-i-cecile merged 2 commits intobevyengine:mainfrom
SpecificProtagonist:b0001-disqualified
Dec 3, 2024
Merged

Use disqualified for B0001#16623
alice-i-cecile merged 2 commits intobevyengine:mainfrom
SpecificProtagonist:b0001-disqualified

Conversation

@SpecificProtagonist
Copy link
Copy Markdown
Contributor

Objective

Fix #16553

@BenjaminBrienen BenjaminBrienen added D-Trivial Nice and easy! A great choice to get started with Bevy A-ECS Entities, components, systems, and events C-Usability A targeted quality-of-life change that makes Bevy easier to use S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it labels Dec 3, 2024
}
let accesses = conflicts.format_conflict_list(world);
panic!("error[B0001]: Query<{query_type}, {filter_type}> in system {system_name} accesses component(s){accesses} in a way that conflicts with a previous system parameter. Consider using `Without<T>` to create disjoint Queries or merging conflicting Queries into a `ParamSet`. See: https://bevyengine.org/learn/errors/b0001");
panic!("error[B0001]: Query<{}, {}> in system {system_name} accesses component(s){accesses} in a way that conflicts with a previous system parameter. Consider using `Without<T>` to create disjoint Queries or merging conflicting Queries into a `ParamSet`. See: https://bevyengine.org/learn/errors/b0001", ShortName(query_type), ShortName(filter_type));
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.

Why do we not shorten the other variables? I think I get system_name, but what about accesses?

Might be worth leaving a comment explaining your reasoning.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks, I just forgot because that didn't show up in the test case. The access format is now also shortened in system building, which we want.

While I'd prefer not shortening the system name, I don't have a strong preference on this.

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.

Yeah personally I don't think it should be shortened since sometimes systems share the same or similar names, but scopes according to their module

Merged via the queue into bevyengine:main with commit 410f3c4 Dec 3, 2024
ecoskey pushed a commit to ecoskey/bevy that referenced this pull request Jan 6, 2025
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-Usability A targeted quality-of-life change that makes Bevy easier to use 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.

Use disqualified for conflicting system param error B0001

4 participants