Skip to content

Conversation

@JustDooooIt
Copy link

GDScript currently has limited static checks. We should introduce annotations like Dart's meta, such as:

@mustCallSuper (mandatory parent call)
@Protected (function visibility)

@JustDooooIt JustDooooIt requested a review from a team as a code owner May 29, 2025 11:09
@dalexeev
Copy link
Member

We don't want to introduce keywords/annotations without runtime guarantees that are difficult to implement without a performance penalty and properly due to the way Godot works (set(), get(), call() are core APIs, not GDScript).

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.

3 participants