You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
I installed commit 73266f9366fcf2ccef0b880618e5a9266e4136f4 and attempted to generate mocks for an interface that uses both generics and embedded interfaces.
Below is an example:
typeFoo[Vany] interface {
Method() V
}
typeBar[Vany] interface {
Foo[V]
NewMethod() V
}
$ mockgen -source=input.go -destination=input_mockgen.go
2022/08/02 21:35:00 Loading input failed: don't know how to mock method of type *ast.IndexExpr
If I remove the interface embed from Bar the mocks will be generated.
I installed commit
73266f9366fcf2ccef0b880618e5a9266e4136f4
and attempted to generate mocks for an interface that uses both generics and embedded interfaces.Below is an example:
If I remove the interface embed from
Bar
the mocks will be generated.Additional Information
Triage Notes for the Maintainers
The text was updated successfully, but these errors were encountered: