Skip to content

emit() now available on inherited symbols + smaller cleanups #1135

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 1 commit into from
Apr 21, 2025

Conversation

Bromeon
Copy link
Member

@Bromeon Bromeon commented Apr 21, 2025

Small follow-up to #1134, allowing to also call emit() on base class functions. This was disabled because of generic parameters <'c> instead of <'c, C>, thus defaulting to C = Self.

Adds tests for "internal" (self) connecting + emitting of signals declared in the base class.

Also cleans up some dead code.

@Bromeon Bromeon added quality-of-life No new functionality, but improves ergonomics/internals c: register Register classes, functions and other symbols to GDScript labels Apr 21, 2025
@Bromeon Bromeon changed the title Fix emit() not being available on inherited symbols; test internal co… emit() now available on inherited symbols + smaller cleanups Apr 21, 2025
@Bromeon Bromeon added this pull request to the merge queue Apr 21, 2025
@Bromeon Bromeon added this to the 0.3 milestone Apr 21, 2025
@GodotRust
Copy link

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

Merged via the queue into master with commit d2dd6b8 Apr 21, 2025
16 checks passed
@Bromeon Bromeon deleted the qol/signal-followup branch April 21, 2025 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: register Register classes, functions and other symbols to GDScript 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