Skip to content
New issue

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

Mockgen produces incorrect output #7

Closed
GoogleCodeExporter opened this issue Apr 1, 2015 · 2 comments
Closed

Mockgen produces incorrect output #7

GoogleCodeExporter opened this issue Apr 1, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
Mockgen produces invalid output on the attached file.

What is the expected output? What do you see instead?
The function on line 64 of the produced output has incorrect arguments.

mockgen --source=log_outer.go --destination=mock_log_outer.go --package=golog

GOROOT/src/pkg/gomock.googlecode.com/hg$ hg identify
aca9ae018061 go.r60

GOROOT$ hg identify
9c743824e7d6+ tip
(I'm working on a patch to the json package, the only files I have modified are 
in the json folder)

Ubuntu 10.04 Intel x86

Original issue reported on code.google.com by awre...@gmail.com on 11 Oct 2011 at 7:11

Attachments:

@GoogleCodeExporter
Copy link
Author

Looks like it breaks due to a mocked method having no arguments except a 
dotdotdot argument.

Original comment by dsymo...@golang.org on 11 Oct 2011 at 10:46

  • Changed state: Started
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision 9aff7dfd2ebb.

Original comment by dsymo...@golang.org on 11 Oct 2011 at 10:01

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant