First element of treebidimap #85
Labels
No labels
bug
discussion
documentation
duplicate
ignore
new feature
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
golibs/gms-gods#85
Loading…
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?
I'm trying to use treebidimap and detect this strange behavior:
Procedure :
t := treebidimap.NewWith(utils.IntComparator, utils.StringComparator)t.Put(1,1)t.Put(1,1)Expected:
Actual:
Tried to check [redblacktree.go] and got the following :
There seems the Comparator is not used for first node/element, it is inserted directly to the map. Is this case as your expected? Did I miss any information in README?
@linhnt89 thank you for the detailed report. on the first glance this looks like a bug and i will investigate now what's going on. willl keep you posted... for now labeling as a bug
interesting find @linhnt89 fixed