Skip to content

Description of @abstract is easy to misunderstand #11400

@verity147

Description

@verity147

Your Godot version:
4.5.1
Issue description:
In the description of the @abstract annotation it says:

If a class has at least one abstract method (either its own or an unimplemented inherited one), then it must also be marked as abstract. However, the reverse is not true: an abstract class is allowed to have no abstract methods.

I think it should say "non abstract methods" instead, from context the sentence as it is right now makes no sense. I'm not a native speaker but I'm pretty sure the meaning is meant to be that an abstract class is allowed to have functions that are not abstract but the missing n reverses that meaning.

URL to the documentation page:
https://docs.godotengine.org/en/4.5/classes/[email protected]#class-gdscript-annotation-abstract

If you know how to fix the issue you are reporting please
consider opening a pull request. We provide a tutorial on
using git here: https://contributing.godotengine.org/en/latest/organization/pull_requests/creating_pull_requests.html,
writing documentation at https://contributing.godotengine.org/en/latest/documentation/guidelines/index.html
and contributing to the class reference here: https://contributing.godotengine.org/en/latest/documentation/class_reference.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:class referenceIssues and PRs about the class reference, which should be addressed on the Godot engine repositoryenhancementtopic:gdscript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions