We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support generic package. Is it possible?
It would be nice to use this famous generic package "github.com/samber/lo"
I find that yaegi doesn't support generic package. The following code shows an error: reflect lo.Assign failed: cannot infer K
yaegi
reflect lo.Assign failed: cannot infer K
$ ./bin/extract github.com/samber/lo $ cat go1_21_github.com_samber_lo.go package pkg import ( "github.com/samber/lo" "reflect" ) func init() { Symbols["github.com/samber/lo/lo"] = map[string]reflect.Value{ "Assign": reflect.ValueOf(lo.Assign), ....
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Proposal
Support generic package.
Is it possible?
Background
It would be nice to use this famous generic package "github.com/samber/lo"
Workarounds
I find that
yaegi
doesn't support generic package.The following code shows an error:
reflect lo.Assign failed: cannot infer K
The text was updated successfully, but these errors were encountered: