Skip to content

多个@overload无法获得正确的返回值类型 #3197

Closed as duplicate

Description

@Silent-zzz

Image

多个overload的情况下返回值无法准确的识别

Activity

  1. Issues-translate-bot commented on Jun 5, 2025

    @Issues-translate-bot

    Sumneko Lua translate bot


    Title: = Multiple @Overloads cannot obtain the correct return value type

    Image

    The return value cannot be accurately identified in the case of multiple overloads

  2. carsakiller commented on Jun 6, 2025

    @carsakiller
    Collaborator

    I think this is another case of function overloads not narrowing as expected. Let's keep track of this in #1456

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions