gopherdata / gophernotes

The Go kernel for Jupyter notebooks and nteract.
MIT License
3.8k stars 262 forks source link

fails to import "sync" package #263

Closed sudipidus closed 3 months ago

sudipidus commented 5 months ago

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 3 months ago

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