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

fix: methods with no parameters and slices #6

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

adamconnelly
Copy link
Owner

  • We were generating an empty generic type parameter list ([]) when a method had no parameters, causing a compilation error for the mocks.
  • We also didn't handle slice arguments / results, which was causing a panic.

- We were generating an empty generic type parameter list (`[]`) when a method had no parameters, causing a compilation error for the mocks.
- We also didn't handle slice arguments / results, which was causing a panic.
Base automatically changed from adamc/remove-package-flag to main November 28, 2023 19:24
@adamconnelly adamconnelly merged commit 37a8d90 into main Nov 28, 2023
3 checks passed
@adamconnelly adamconnelly deleted the adamc/fix-zero-args-and-slices branch November 28, 2023 19:25
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

Successfully merging this pull request may close these issues.

1 participant