mirror of
https://github.com/mgechev/revive.git
synced 2025-07-05 00:28:53 +02:00
chore: fix typo (#1187)
This commit is contained in:
@ -56,7 +56,7 @@ type lintUnconditionalRecursionRule struct {
|
||||
// We do search inside conditional control structures are statements that will take the control out of the function (return, exit, panic)
|
||||
// If we find conditional control exits, it means the function is NOT unconditionally-recursive
|
||||
// If we find a recursive call before finding any conditional exit, a failure is generated
|
||||
// In resume: if we found a recursive call control-dependant from the entry point of the function then we raise a failure.
|
||||
// In resume: if we found a recursive call control-dependent from the entry point of the function then we raise a failure.
|
||||
func (w lintUnconditionalRecursionRule) Visit(node ast.Node) ast.Visitor {
|
||||
switch n := node.(type) {
|
||||
case *ast.FuncDecl:
|
||||
|
Reference in New Issue
Block a user