workerpool icon indicating copy to clipboard operation
workerpool copied to clipboard

Cannot work with deque 0.2.0

Open yulin-li opened this issue 3 years ago • 1 comments

got error

../go/pkg/mod/github.com/gammazero/[email protected]/workerpool.go:50:15: cannot use generic type deque.Deque[T any] without instantiation

yulin-li avatar Jun 07 '22 06:06 yulin-li

@yulin-li so what's really interesting here is that workerpool 1.1.2 itself points to deque 0.1.0

Something in your project is pulling in v0.2.0, which doesn't play well with workerpool 1.1.2.

If there's nothing that explicitly imports deque 0.2.0 I recommend that you do a go get github.com/gammazero/[email protected] to put it back at 0.1.0, and workerpool will then compile.

shiqi-synctera avatar Jun 20 '22 22:06 shiqi-synctera