Skip to content

wip: compiler

wip: compiler #442

Triggered via push October 2, 2023 19:07
Status Failure
Total duration 20s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: internal/compiler/irgen/irgen.go#L1
: # github.com/nevalang/neva/internal/compiler/irgen
lint: cmd/interpreter/main.go#L11
could not import github.com/nevalang/neva/internal/compiler/irgen (-: # github.com/nevalang/neva/internal/compiler/irgen
lint: internal/compiler/analyzer/component.go#L157
157-184 lines are duplicate of `internal/compiler/analyzer/component.go:233-260` (dupl)
lint: internal/compiler/analyzer/component.go#L233
233-260 lines are duplicate of `internal/compiler/analyzer/component.go:157-184` (dupl)
lint: internal/runtime/funcs/funcs.go#L68
use of `fmt.Print` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: internal/compiler/analyzer/const.go#L16
cognitive complexity 35 of func `(Analyzer).analyzeConst` is high (> 30) (gocognit)
lint: internal/compiler/analyzer/interface.go#L30
File is not `gofumpt`-ed (gofumpt)
lint: internal/compiler/repo/disk/disk.go#L30
File is not `gofumpt`-ed (gofumpt)
lint: internal/compiler/repo/disk/disk.go#L53
File is not `gofumpt`-ed (gofumpt)
lint: internal/runtime/func_runner.go#L43
should not use basic type string as key in context.WithValue (golint)
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/