fails to import "sync" package
sudipidus opened this issue · 1 comments
sudipidus commented
While I try to import "sync" package I get the following error
Converter.Type(): unsupported types.Type: *types.TypeParam
I randomly tried importing other packages and it works just fine.
What am I missing?
ps: adding this as an issue since I don't see discussion column
cosmos72 commented
That's because importing generic types and generic functions is not yet supported,
and gophernotes@v0.7.5 chokes on them.
There's a partial fix in the latest version, which just skips generic types and generic functions while importing a package.
To install the latest version, follow the usual installation instructions but replace @v0.7.5
with @latest