hash code for a type string is not the same as hash code for the same string read by the reader ('the member bug') #6
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: simon/post-scarcity#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
member is failing, and it transpires that the hash code for a type string is computed differently from one for an identical string read by the reader:
(this pattern is repeated for other strings returned by
type).So it appears that the hash for a type string is computed only for the first three characters (why?)
Note that this is not the only bug in
member, but it needs fixed anyway.