Skip to content

fix(lsp:go): implement shutdown and handle chan closing and opening #519

fix(lsp:go): implement shutdown and handle chan closing and opening

fix(lsp:go): implement shutdown and handle chan closing and opening #519

Triggered via push November 19, 2023 04:58
Status Failure
Total duration 20s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: pkg/typesystem/terminator.go#L63
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(\"unknown\")" (goerr113)
lint: pkg/typesystem/resolver.go#L263
getDef returns interface (github.com/nevalang/neva/pkg/typesystem.Scope) (ireturn)
lint: pkg/typesystem/resolver.go#L78
SA4010: this result of append is never used, except maybe in other appends (staticcheck)
lint: pkg/typesystem/resolver.go#L88
SA4010: this result of append is never used, except maybe in other appends (staticcheck)
lint: pkg/typesystem/typesystem.go#L21
variable name 'i' is too short for the scope of its usage (varnamelen)
lint: pkg/typesystem/resolver.go#L113
error returned from interface method should be wrapped: sig: func (github.com/nevalang/neva/pkg/typesystem.subtypeChecker).Check(sub github.com/nevalang/neva/pkg/typesystem.Expr, sup github.com/nevalang/neva/pkg/typesystem.Expr, params github.com/nevalang/neva/pkg/typesystem.TerminatorParams) error (wrapcheck)
lint: pkg/typesystem/resolver.go#L198
error returned from external package is unwrapped: sig: func errors.Join(errs ...error) error (wrapcheck)
lint: pkg/typesystem/validator.go#L31
error returned from external package is unwrapped: sig: func errors.Join(errs ...error) error (wrapcheck)
lint: internal/runtime/func_runner.go#L43
should not use basic type string as key in context.WithValue (golint)
lint: internal/runtime/connector.go#L123
(connector).broadcast - result 0 (error) is always nil (unparam)
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/