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
We may want to close this as "working as intended". The reason f == f panics at runtime is because Go explicitly doesn't want to worry about comparing enclosed scope when comparing functions for equality (did some reading).
What happened:
Function doesn't compare equal to itself.
What you expected to happen:
to pass. (What's worse,
it.ReferenceEqual()
panics)How to reproduce it (as minimally and precisely as possible):
See: https://play.golang.org/p/FksPb7SsO6o
Environment:
master
at 72508cago version
):go version go1.13 darwin/amd64
cat /etc/os-release
): macOSThe text was updated successfully, but these errors were encountered: