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

feat: improve matching empty variadic argument lists #29

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

adamconnelly
Copy link
Owner

Expecting or verifying that a variadic method was called with no arguments passed was difficult because by not passing any arguments, it prevented the Go compiler from being able to infer the types. I've added a new kelpie.None[T]() helper to make this easier.

Expecting or verifying that a variadic method was called with no arguments passed was difficult because by not passing any arguments, it prevented the Go compiler from being able to infer the types. I've added a new `kelpie.None[T]()` helper to make this easier.
@adamconnelly adamconnelly marked this pull request as ready for review June 6, 2024 05:28
@adamconnelly adamconnelly merged commit f28119d into main Jun 6, 2024
3 checks passed
@adamconnelly adamconnelly deleted the adamc/add-empty-helper branch June 6, 2024 05:29
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