Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SortedMap reversed() fails with exception #223

Open
wittlesouth opened this issue Jun 16, 2019 · 0 comments
Open

SortedMap reversed() fails with exception #223

wittlesouth opened this issue Jun 16, 2019 · 0 comments

Comments

@wittlesouth
Copy link

The following code:

const sm = new SortedMap()
// Fill SortedMap
const sm_desc = sm.reversed()

fails with "TypeError: this.constructClone(...).reverse is not a function", specifically on line 267 of generic-collection.js.GenericCollection.reversed. Per the docs, I was expecting it to return a copy with the items in reversed order of keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant