Merge pull request #3718 from onflow/supun/improve-instructions #10472
Annotations
10 errors and 1 warning
Lint:
bbq/vm/value_capability.go#L178
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
|
Lint:
bbq/opcode/instruction.go#L89
func `decodeString` is unused (unused)
|
Lint:
bbq/opcode/instruction.go#L97
func `emitString` is unused (unused)
|
Lint:
bbq/program_printer.go#L71
func `(*ProgramPrinter[_]).getIntOperand` is unused (unused)
|
Lint:
bbq/compiler/compiler.go#L270
func `(*Compiler[_]).emitJumpIfFalse` is unused (unused)
|
Lint:
bbq/vm/test/vm_test.go#L1805
unreachable: unreachable code (govet)
|
Lint:
bbq/vm/native_functions.go#L39
range statement over map: map[string]github.com/onflow/cadence/bbq/vm.Value (maprange)
|
Lint:
bbq/compiler/compiler.go#L271
SA4003: no value of type uint16 is greater than math.MaxUint16 (staticcheck)
|
Lint:
bbq/compiler/function.go#L47
SA4003: no value of type uint16 is greater than math.MaxUint16 (staticcheck)
|
Lint:
bbq/vm/value_capability.go#L178
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading