wip(vscode): wv #511
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
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/
|