fix: add example #461
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/debugger/debugger.go#L21
Send returns interface (github.com/nevalang/neva/internal/runtime.Msg) (ireturn)
|
lint:
pkg/typesystem/resolver_test.go#L13
error strings should not be capitalized or end with punctuation or a newline (golint)
|
lint:
pkg/typesystem/typesystem_test.go#L11
h is a global variable (gochecknoglobals)
|
lint:
pkg/typesystem/scope_test.go#L19
GetType returns interface (github.com/nevalang/neva/pkg/typesystem.Scope) (ireturn)
|
lint:
pkg/typesystem/typesystem_test.go#L101
Function TestDef_String missing the call to method parallel
|
lint:
pkg/typesystem/typesystem_test.go#L116
Range statement for test TestDef_String missing the call to method parallel in test Run
|
lint:
internal/interpreter/interpreter.go#L31
error returned from interface method should be wrapped: sig: func (github.com/nevalang/neva/internal/interpreter.Compiler).Compile(ctx context.Context, src string, dst string) (*github.com/nevalang/neva/pkg/ir.Program, error) (wrapcheck)
|
lint:
internal/interpreter/interpreter.go#L36
error returned from interface method should be wrapped: sig: func (github.com/nevalang/neva/internal/interpreter.Adapter).Adapt(irProg *github.com/nevalang/neva/pkg/ir.Program) (github.com/nevalang/neva/internal/runtime.Program, error) (wrapcheck)
|
lint:
internal/interpreter/interpreter.go#L41
error returned from interface method should be wrapped: sig: func (github.com/nevalang/neva/internal/interpreter.Runtime).Run(context.Context, github.com/nevalang/neva/internal/runtime.Program) (code int, err error) (wrapcheck)
|
lint:
pkg/typesystem/terminator.go#L63
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(\"unknown\")" (goerr113)
|
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/
|