google / google/go-cmp

Equal method matching panics under interesting situations

Open
#324 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
4.7k
Forks
243
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.