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
Uncaught Exception:
TypeError: Cannot read property 'valueOf' of undefined
at less (/node_modules/tstl/functional/comparators.js:43:11)
at _UniqueSetTree.nearest_by_key (/node_modules/tstl/base/tree/_UniqueSetTree.js:49:32)
at _UniqueSetTree._SetTree.lower_bound (/node_modules/tstl/base/tree/_SetTree.js:72:25)
at TreeSet.lower_bound (/node_modules/tstl/container/TreeSet.js:100:27)
at TreeSet.UniqueTreeSet._Insert_by_key (/node_modules/tstl/base/container/UniqueTreeSet.js:69:23)
at TreeSet.UniqueTreeSet._Insert_by_hint (/node_modules/tstl/base/container/UniqueTreeSet.js:88:25)
at TreeSet.SetContainer.insert (/node_modules/tstl/base/container/SetContainer.js:117:25)
at TreeSet.UniqueSet.insert (/node_modules/tstl/base/container/UniqueSet.js:65:40)
at InsertIterator.set [as value] (/node_modules/tstl/iterator/InsertIterator.js:48:29)
at Object.copy (/node_modules/tstl/algorithm/modifiers.js:46:22
Thanks for your reporting. By your contribution, I could find an error returning invalid iterator when inserting element on tree based containers with hint iterator: TreeSet<T>.insert(hint: TreeSet.Iterator<T>, val: T).
Bug Report
Summary
Code incurring the bug
Stack Trace
Desirable Behavior as in C++
The text was updated successfully, but these errors were encountered: