moricho / tparallel

tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes
MIT License
24 stars 4 forks source link

SSA and generics (go1.18) #13

Closed ldez closed 1 year ago

ldez commented 2 years ago

Currently, SSA is not working with generics.

So your linter produces a panic when it is used with generics.

There is an issue open about that in the Go repository: https://github.com/golang/go/issues/48525

Inside golangci-lint, we have disabled your linters: https://github.com/golangci/golangci-lint/issues/2649

You have 2 solutions:

Related to https://github.com/golang/go/issues/50558

moricho commented 1 year ago

This issue seems to have been resolved since SSA now supports generics.

@ldez Thank you for raising this issue!