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

Equal method matching panics under interesting situations #324

Open
hugelgupf opened this issue Feb 20, 2023 · 0 comments
Open

Equal method matching panics under interesting situations #324

hugelgupf opened this issue Feb 20, 2023 · 0 comments

Comments

@hugelgupf
Copy link

Example 1, panic: interface with Equal method, struct embeds other struct with Equal method. https://go.dev/play/p/LJ-oE6zu9ul (not exactly sure what makes this one tick)

Example 2, panic: pointer receiver for Equal, embedded in other struct: https://go.dev/play/p/UP22F8H36rx

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