Skip to content
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

Constraint ITrait Bound to it's Corresponding Class #747

Merged
merged 2 commits into from
Jun 16, 2024

Conversation

Dheatly23
Copy link
Contributor

Should fix #742 by making sure the type base class is the correct one.

@lilizoey
Copy link
Member

lilizoey commented Jun 9, 2024

Could you add a test for this? For instance by using a doctest with compile_fail.

@Bromeon Bromeon added bug c: register Register classes, functions and other symbols to GDScript labels Jun 16, 2024
@Bromeon Bromeon added this pull request to the merge queue Jun 16, 2024
Merged via the queue into godot-rust:master with commit 0557d4c Jun 16, 2024
15 checks passed
@Dheatly23 Dheatly23 deleted the fix-incorrect-itrait-impl branch June 17, 2024 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug c: register Register classes, functions and other symbols to GDScript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

You can use the wrong ITrait
3 participants