Skip to content

[Heap] Make map index generic #4709

[Heap] Make map index generic

[Heap] Make map index generic #4709

Triggered via pull request April 25, 2024 23:53
Status Failure
Total duration 1m 7s
Billable time 1m
Artifacts

tokenvm-static-analysis.yml

on: pull_request
tokenvm-lint
52s
tokenvm-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
tokenvm-lint
got 2 arguments but 3 type parameters
tokenvm-lint
got 2 arguments but 3 type parameters
tokenvm-lint
cannot infer V (/home/runner/work/hypersdk/hypersdk/heap/heap.go:20:31)
tokenvm-lint
cannot infer V (/home/runner/work/hypersdk/hypersdk/heap/heap.go:20:31)
tokenvm-lint
cannot use &heap.Entry[*Order, float64]{…} (value of type *"github.com/ava-labs/hypersdk/heap".Entry[*Order, float64]) as *"github.com/ava-labs/hypersdk/heap".Entry[T, I, V] value in argument to h.Push
tokenvm-lint
got 2 arguments but 3 type parameters
tokenvm-lint
cannot use e.ID (variable of type T constrained by comparable) as ids.ID value in argument to delete
tokenvm-lint
cannot use id (variable of type ids.ID) as T value in argument to h.Get
tokenvm-lint
cannot use id (variable of type ids.ID) as T value in argument to h.Get
tokenvm-lint
entry.Item.Remaining undefined (type I has no field or method Remaining)