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

importing generic functions or types is not supported yet #161

Open
truthtracer opened this issue Sep 6, 2024 · 0 comments
Open

importing generic functions or types is not supported yet #161

truthtracer opened this issue Sep 6, 2024 · 0 comments

Comments

@truthtracer
Copy link

./gomacro -g /home/user/go/src/github.com/go-rod/rod/lib/launcher
generate x_package.go NOT include some functions like this form :

func (l *Launcher) Set(name flags.Flag, values ...string) *Launcher {
name.Check()
l.Flags[name.NormalizeFlag()] = values
return l
}

And then import the package in gomacro cli :
// warning: skipping import of func sync.OnceValue[T any](f func() T) func() T: importing generic functions or types is not supported yet
// warning: skipping import of func sync.OnceValues[T1, T2 any](f func() (T1, T2)) func() (T1, T2): importing generic functions or types is not supported yet

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

No branches or pull requests

1 participant