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

ruleguard: handle variadic vars in filters properly #238

Merged
merged 1 commit into from
Jun 5, 2021

Conversation

quasilyte
Copy link
Owner

For patterns like f($*args) we can now apply a
m["args"].Pure filter to check whether all arguments are pure.

It works with most filters.

The current implementation is messy, but it will do for now.

For patterns like `f($*args)` we can now apply a
`m["args"].Pure` filter to check whether **all** arguments are pure.

It works with most filters.

The current implementation is messy, but it will do for now.
@quasilyte quasilyte merged commit c33c867 into master Jun 5, 2021
@quasilyte quasilyte deleted the quasilyte/feature/variadic_var_filters branch June 5, 2021 11:21
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