Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot work with deque 0.2.0 #63

Closed
yulin-li opened this issue Jun 7, 2022 · 1 comment · Fixed by #64
Closed

Cannot work with deque 0.2.0 #63

yulin-li opened this issue Jun 7, 2022 · 1 comment · Fixed by #64

Comments

@yulin-li
Copy link
Contributor

yulin-li commented Jun 7, 2022

got error

../go/pkg/mod/github.com/gammazero/workerpool@v1.1.2/workerpool.go:50:15: cannot use generic type deque.Deque[T any] without instantiation
@shiqi-synctera
Copy link

@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/deque@v0.1.0 to put it back at 0.1.0, and workerpool will then compile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants