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

unconditional-recursive warn where no any reasone #1212

Closed
comdiv opened this issue Jan 28, 2025 · 2 comments · Fixed by #1214
Closed

unconditional-recursive warn where no any reasone #1212

comdiv opened this issue Jan 28, 2025 · 2 comments · Fixed by #1214
Assignees
Labels

Comments

@comdiv
Copy link
Contributor

comdiv commented Jan 28, 2025

Describe the bug
Show warning where is no any reasone

To Reproduce

// NewFactory - создает фабрику калькуляций
func NewFactory(options ICalculationFactoryOptions) *Factory {
	return &Factory{factoryOptions: options}
}

var defaultFactory = NewFactory(DefaultFactoryOptions())

Will warn about unconditional-recursive - where is no any reasone to do it

@chavacava
Copy link
Collaborator

Hi @comdiv thanks for reporting the issue. I'll try to analyze it ASAP.

@chavacava chavacava added the bug label Jan 28, 2025
@chavacava chavacava self-assigned this Jan 28, 2025
@chavacava
Copy link
Collaborator

I've reproduced the problem and identified the root cause. I'll push a fix in the next days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants