-
Notifications
You must be signed in to change notification settings - Fork 42
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
problem with func return values #315
Comments
I believe the problem is that The ruleguard knows that I'll work on that in the near future. This issue shouldn't be too hard to fix. |
i should made explict pr for this changes or attach link on commit, but my example from main, so this is now outdated line rule: https://github.com/delivery-club/delivery-club-rules/blob/57c02e95e6292bd07d963c9be76750360df5ca41/rules.go#L184 |
have problems with few function return values, tried use
$*_
,$_
and$a
patterns, result the same, i don't have errors on compilation, but also functions were not found, with one return parameter everything is fineproblem example - https://github.com/delivery-club/delivery-club-rules/blob/main/rules.go#L184
m.Match("func $name($*_) ($arg, $_) { $*_ }")
The text was updated successfully, but these errors were encountered: