pie icon indicating copy to clipboard operation
pie copied to clipboard

can't run linter goanalysis_metalinter

Open zhjdhx opened this issue 1 year ago • 3 comments

ERRO Running error: 1 error occurred: * can't run linter goanalysis_metalinter: goanalysis_metalinter: buildir: package "pie" (isInitialPkg: false, needAnalyzeSource: true): in github.com/elliotchance/pie/v2.Float64s: cannot convert github.com/elliotchance/pie/v2.Float64 (func[T golang.org/x/exp/constraints.Ordered](x T) float64) to func(T) float64

golangci-lint has version 1.46.2 built from a3336890 on 2022-05-17T11:31:29Z

zhjdhx avatar Mar 25 '23 12:03 zhjdhx

Can you provide the exact command that produced this?

elliotchance avatar Mar 26 '23 22:03 elliotchance

Can you provide the exact command that produced this?

golangci-lint run ./...

zhjdhx avatar Mar 27 '23 02:03 zhjdhx

That looks to be a bug with the linter and not this library.

elliotchance avatar Mar 27 '23 15:03 elliotchance