We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
package main import "fmt" type S struct{} type SS []*S type C struct{} type CC []*C func (ss SS) Convert() CC { cc := make(CC, len(ss)) for i := range ss { cc[i] = &C{} } return cc } func main() { var ss SS fmt.Println(ss.Convert()) }
The text was updated successfully, but these errors were encountered:
@potalestor, this seems to be a corner case that is not correctly handled for named type receivers. We'll add a fix for it soon. Thanks for reporting!
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: