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

Unexpected package creation during export data loading #168

Closed
metalrex100 opened this issue Mar 22, 2022 · 1 comment
Closed

Unexpected package creation during export data loading #168

metalrex100 opened this issue Mar 22, 2022 · 1 comment

Comments

@metalrex100
Copy link
Contributor

metalrex100 commented Mar 22, 2022

I'm trying to generate mocks after switching to go 1.18 and refactoring some of my code with generics.

Expected behavior:
Mocks generated as previously with no errors.

Actual behavior:
Interface mock generation fails with Unexpected package creation during export data loading error.

Additional: some interfaces generated with no errors and some interfaces generation fails. Seems like error occurs in packages where generic code exists.

moq version: v0.2.6

@metalrex100
Copy link
Contributor Author

Seems like related to golang/go#45584

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

No branches or pull requests

1 participant