Closed yz89122 closed 1 month ago
Okay, I find it annoying and it blocks me. Can I take care of this one? 😄
@cebilon123 You can submit a PR if you have a fix. We welcome any contribution.
Any progress? If I understand correctly, there is some issue with reflect
package itself.
But there should be new API in Go 1.22 based on this comment https://github.com/uber-go/mock/issues/197#issuecomment-2270138135
Can that help fix this issue too?
Actual behavior A clear and concise description of what the bug is.
Same issue from
github.com/golang/mock
https://github.com/golang/mock/issues/677.Interface:
Mock package:
Command:
Expected behavior A clear and concise description of what you expected to happen.
No error.
To Reproduce Steps to reproduce the behavior
go generate ./...
for above code.Additional Information
Triage Notes for the Maintainers