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

gogrep: improve FieldList matching inside func types #225

Merged
merged 1 commit into from
Apr 24, 2021

Conversation

quasilyte
Copy link
Owner

$*_     matches arbitrary field list (including a nil list)
$_      matches a field list of exactly 1 element
($_ $_) matches a field list of 1 named element

This is useful for function type params and return type lists.

```
$*_     matches arbitrary field list (including a nil list)
$_      matches a field list of exactly 1 element
($_ $_) matches a field list of 1 named element
```

This is useful for function type params and return type lists.
@quasilyte quasilyte merged commit 7184b66 into master Apr 24, 2021
@quasilyte quasilyte deleted the quasilyte/gogrep/improve_func_decl_matching branch April 24, 2021 17:22
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