Skip to content

struct methods with variadic parameter fail to compile #888

@nicowolf91

Description

@nicowolf91

Hi,

until v1.17.7 the following worked: https://go.dev/play/p/mqODDJB63a3

Starting from v1.17.7 a call of a struct method that has a variadic parameter fails with an error:
cannot use string as argument (type unknown) to call IncludesAny.

I just checked with v1.17.6 and everything works as expected.

Let me know if I can support in any way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions