[WIP] Compiler+VM POC #10340
Annotations
11 errors and 5 warnings
Lint:
bbq/vm/callframe.go#L55
assignOp: replace `f.ip = f.ip + strLen` with `f.ip += strLen` (gocritic)
|
Lint:
bbq/vm/value_capability.go#L179
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
|
Lint:
bbq/vm/vm.go#L460
assignOp: replace `callframe.ip = callframe.ip + locationLen` with `callframe.ip += locationLen` (gocritic)
|
Lint:
bbq/vm/value_utils.go#L23
const `goIntSize` is unused (unused)
|
Lint:
bbq/vm/value_utils.go#L24
const `goMaxInt` is unused (unused)
|
Lint:
bbq/vm/value_utils.go#L25
const `goMinInt` is unused (unused)
|
Lint:
bbq/vm/value_utils.go#L27
func `safeAdd` is unused (unused)
|
Lint:
bbq/vm/vm.go#L143
S1001: should use copy(to, from) instead of a loop (gosimple)
|
Lint:
bbq/compiler/compiler.go#L415
S1001: should use copy(to, from) instead of a loop (gosimple)
|
Lint:
bbq/vm/test/ft_test.go#L143
composites: github.com/onflow/cadence/bbq/vm.IntValue struct literal uses unkeyed fields (govet)
|
Test
Process completed with exit code 2.
|
Semgrep
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Lint JSON
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Lint JSON
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|