💡 Specify actual return types of Object expressions · Issue #23 · SkriptLang/skript-docs · GitHub
Skip to content

💡 Specify actual return types of Object expressions #23

Open

Description

@AyhamAl-Ali

Expressions such as ExprAllBannedEntries have a return type of Object, but getReturnType method returns actual return types based on condition, we should find a way to return all values regardless of conditions

image

Activity

  1. added
    enhancementFeature request, an issue about something that could be improved, or a PR improving something.
    backendIssues that require backend code changes (java)
    on Mar 13, 2023
  2. APickledWalrus commented on Mar 14, 2023

    @APickledWalrus
    Member

    Maybe a doc annotation to override the content displayed here? Ex:
    @ReturnType("player (players), text (IPs)")

  3. AyhamAl-Ali commented on Mar 14, 2023

    @AyhamAl-Ali
    MemberAuthor

    That was the first idea came on my mind, the only reason I am trying to use this as a last resort is because will have to add it to all missing classes but it's most likely what will happen :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendIssues that require backend code changes (java)enhancementFeature request, an issue about something that could be improved, or a PR improving something.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions