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
This should be expected behavior at this point? Because the hash function actually assumes that the key type should be a value type (or a struct without pointers). The string actually contains a pointer. So even though the two strings have the same value, the pointers have different addresses, so the calculated hash values are different.
here is a simple test to reproduce:
This is related to Yiling-J/theine-go#31
The text was updated successfully, but these errors were encountered: