Closed lucbarr closed 4 years ago
Can you please show the command you ran that lead to the panic?
Can you please show the command you ran that lead to the panic?
mockgen -source=<path-to-file>
Hey @lucbarr thanks for the report. Can you provide a small file that is able to reproduce this?
I don't have the files anymore, and the error didn't happen again. I'm closing this, thanks for the willingness, fellows.
Ran installation as in README.md and for every file I run mockgen I get:
Tried manually compiling mockgen, got the same error. After recompiling for v1.2.0 - last version I record working properly - , everything works fine. It might be somewhat related to this https://github.com/golang/mock/blob/master/mockgen/parse.go#L51
any clue, anyone?