Skip to content

Minor signal cleanup; prevent #[signal] from being used in secondary impl blocks #964

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

Merged
merged 3 commits into from
Dec 8, 2024

Conversation

Bromeon
Copy link
Member

@Bromeon Bromeon commented Dec 8, 2024

Makes #[signal] illegal in secondary impl blocks. This restriction may be lifted if it's technically feasible (with reasonable effort), but for now I don't want secondary impl blocks to be an obstacle to #8.

Also cleans up some code in signal_test.rs and init/mod.rs.

@Bromeon Bromeon added quality-of-life No new functionality, but improves ergonomics/internals c: core Core components labels Dec 8, 2024
@GodotRust
Copy link

API docs are being generated and will be shortly available at: https://godot-rust.github.io/docs/gdext/pr-964

@Bromeon Bromeon force-pushed the qol/signal-cleanup branch from 95c2f92 to 7cf2c4e Compare December 8, 2024 09:54
@Bromeon Bromeon added this pull request to the merge queue Dec 8, 2024
Merged via the queue into master with commit 289f5df Dec 8, 2024
15 checks passed
@Bromeon Bromeon deleted the qol/signal-cleanup branch December 8, 2024 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: core Core components quality-of-life No new functionality, but improves ergonomics/internals
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants