You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation of Equal() (introduced in #63) seems incorrect (emphasis mine):
If the values have an Equal method of the form "(T) Equal(T) bool" or "(T) Equal(I) bool" where T is assignable to I, then use the result of x.Equal(y) even if x or y is nil. Otherwise, no such method exists and evaluation proceeds to the next rule.
As far as I tested, x.Equal(y) is NOT called if x == nil or/and y == nil.
The documentation of
Equal()
(introduced in #63) seems incorrect (emphasis mine):As far as I tested,
x.Equal(y)
is NOT called ifx == nil
or/andy == nil
.playground
The text was updated successfully, but these errors were encountered: