Skip to content

wip(vscode): wv

wip(vscode): wv #511

Triggered via push November 17, 2023 05:20
Status Failure
Total duration 25s
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: internal/runtime/connector.go#L20
NewDefaultConnector returns interface (github.com/nevalang/neva/internal/runtime.Connector) (ireturn)
lint: internal/runtime/connector.go#L208
Send returns interface (github.com/nevalang/neva/internal/runtime.Msg) (ireturn)
lint: internal/vm/vm.go#L12
package comment is detached; there should be no blank lines between it and the package statement (golint)
lint: internal/vm/vm.go#L51
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
lint: internal/vm/vm.go#L43
error returned from interface method should be wrapped: sig: func (github.com/nevalang/neva/internal/vm.Loader).Load(ctx context.Context, path string) ([]byte, error) (wrapcheck)
lint: internal/compiler/parser/parser_test.go#L14
Function TestParser_ParseFile missing the call to method parallel
lint: internal/compiler/sourcecode/scope.go#L67
func `Scope.parseRef` is unused (unused)
lint: internal/compiler/sourcecode/scope.go#L48
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"ref is not entity ref: %v\", ref)" (goerr113)
lint: internal/compiler/sourcecode/scope.go#L45
GetType returns interface (github.com/nevalang/neva/pkg/typesystem.Scope) (ireturn)
lint: internal/compiler/sourcecode/src.go#L34
named return "entity" with type "Entity" found (nonamedreturns)
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/