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

fix: panic related to IndexListExpr #63

Closed
wants to merge 1 commit into from

Conversation

ldez
Copy link
Contributor

@ldez ldez commented May 27, 2022

I tested the code with several codebases using generics.

I'm not sure about the default case.

Fixes #62

@mvdan
Copy link
Owner

mvdan commented Jun 29, 2022

Thanks for the PR! This doesn't quite fix the issue, as there aren't any regression tests. I started work on generics support with tests some time ago, so I'll send a PR soon that incorporates your changes as well.

@ldez
Copy link
Contributor Author

ldez commented Jun 29, 2022

ok, so I will close my PR.

@ldez ldez closed this Jun 29, 2022
@ldez ldez deleted the fix/IndexListExpr branch June 29, 2022 15:03
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

Successfully merging this pull request may close these issues.

panic: interface conversion: ast.Expr is *ast.IndexExpr, not *ast.Ident
2 participants