Skip to content

refactor(api:proto): ir #436

refactor(api:proto): ir

refactor(api:proto): ir #436

Triggered via push September 29, 2023 13:01
Status Failure
Total duration 23s
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: internal/compiler/parser/listener.go#L1
: # github.com/nevalang/neva/internal/compiler/parser
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/analyzer.go#L106
cognitive complexity 35 of func `(Analyzer).analyzeConst` is high (> 30) (gocognit)
lint: internal/runtime/func_runner.go#L43
should not use basic type string as key in context.WithValue (golint)
lint: internal/vm/decoder/proto/adapter.go#L64
append to slice `rConns` with non-zero initialized length (makezero)
lint: internal/runtime/connector.go#L71
(DefaultConnector).distribute - result 0 (error) is always nil (unparam)
lint: internal/compiler/analyzer/analyzer.go#L45
`(Analyzer).analyzePkg` - `prog` is unused (unparam)
lint: internal/compiler/analyzer/analyzer.go#L62
`(Analyzer).analyzeEntity` - `entityName` is unused (unparam)
lint: internal/compiler/analyzer/main_component.go#L77
`(Analyzer).analyzeMainComponentNodes` - `pkg` is unused (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/