What did you try to do?: When extracting an interface from a struct, it does not properly handle variadic parameters. This causes the struct to not actually be compatible with the interface. This is shown in the image below, where Call(ctx context.Context, vars ...string) is extracted as Call(ctx context.Context, vars []string) error:
Is there anything interesting in the tooltitude output channel? (should be open if you are reporting error from within VS Code): No
Steps to reproduce
Have a struct with variadic parameters in a method.
Tooltitude Version: v0.24.6
OS Version: Ventura 13.4
VS Code Version: 1.79.2
Go Version: 1.19
Code Repository (if open source): nil
What did you try to do?: When extracting an interface from a struct, it does not properly handle variadic parameters. This causes the struct to not actually be compatible with the interface. This is shown in the image below, where
Call(ctx context.Context, vars ...string)
is extracted asCall(ctx context.Context, vars []string) error
:Is there anything interesting in the tooltitude output channel? (should be open if you are reporting error from within VS Code): No
Steps to reproduce