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

GDScript: Assume constructor to be accessible from class #90552

Merged

Conversation

vnen
Copy link
Member

@vnen vnen commented Apr 11, 2024

Since the constructor is accessed directly from the class, even if not marked static, it can be retrieved as a Callable without an instance.

Fix #80526

Since the constructor is accessed directly from the class, even if not
marked `static`, it can be retrieved as a Callable without an instance.
@vnen vnen added this to the 4.3 milestone Apr 11, 2024
@vnen vnen requested a review from a team as a code owner April 11, 2024 23:33
@akien-mga akien-mga merged commit 296758a into godotengine:master Apr 29, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@vnen vnen deleted the gdscript-constructor-callable-release branch May 2, 2024 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom Class Constructor 'new' not found only in release exports
2 participants