You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was trying out Go 1.18 when I figured that gomarkdoc currently doesn't work with Go 1.18 projects that use generics.
For some code that uses generics
typeSet[Tcomparable] map[T]bool
gomarkdoc currently gives error with 1.18 projects
gomarkdoc: failed to parse package: generic/set.go:4:12: expected ']', found comparable (and 1 more errors)
Wondering if the support is planned after a stable 1.18 release. Not sure how much effort this would be, I'm hoping it'll just require updating some parsing dependency in gomarkdoc.
The text was updated successfully, but these errors were encountered:
Hi, I was trying out Go 1.18 when I figured that
gomarkdoc
currently doesn't work with Go 1.18 projects that use generics.For some code that uses generics
gomarkdoc
currently gives error with 1.18 projectsgomarkdoc: failed to parse package: generic/set.go:4:12: expected ']', found comparable (and 1 more errors)
Wondering if the support is planned after a stable 1.18 release. Not sure how much effort this would be, I'm hoping it'll just require updating some parsing dependency in
gomarkdoc
.The text was updated successfully, but these errors were encountered: