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

Modifying linked/set fails in CLJ and CLJS #5

Open
LukasRychtecky opened this issue Jul 14, 2017 · 0 comments
Open

Modifying linked/set fails in CLJ and CLJS #5

LukasRychtecky opened this issue Jul 14, 2017 · 0 comments

Comments

@LukasRychtecky
Copy link

Hello,

I've tried to use linked/set, but all following operations failed:

CLJ

dev=> (linked/set 4)
java.lang.AbstractMethodError: Method linked/set/LinkedSet.toArray()[Ljava/lang/Object; is abstract

same result for calling

(into (linked/set) [1])

and

(conj (linked/set) 1)

CLJS:

async.cljs?rel=1499438406010:13 Uncaught TypeError: Cannot read property 'inode_find' of null
    at cljs.core.PersistentHashMap.cljs$core$IFind$_find$arity$2 (core.cljs:7536)
    at Object.cljs$core$_find [as _find] (core.cljs:551)
    at cljs$core$find (core.cljs:2246)
    at linked$map$assoc_STAR_ (map.cljc?rel=1500020407753:229)
    at linked.map.LinkedMap.cljs$core$IAssociative$_assoc$arity$3 (map.cljc?rel=1500020407753:196)
    at Object.cljs$core$_assoc [as _assoc] (core.cljs:545)
    at Function.cljs.core.assoc.cljs$core$IFn$_invoke$arity$3 (core.cljs:1881)
    at cljs$core$assoc (core.cljs:1874)
    at linked.set.LinkedSet.cljs$core$ICollection$_conj$arity$2 (set.cljc?rel=1500020407969:103)
    at cljs$core$_conj (core.cljs:498)
    at core.cljs:5261
    at core.cljs:5261
    at cljs.core.PersistentVector.cljs$core$IReduce$_reduce$arity$3 (core.cljs:5265)
    at Function.cljs.core.reduce.cljs$core$IFn$_invoke$arity$3 (core.cljs:2431)
    at Function.cljs.core.into.cljs$core$IFn$_invoke$arity$2 (core.cljs:4843)
    at cljs$core$into (core.cljs:4834)
    at events.cljs?rel=1500029354511:11
    at core.cljs:4934
    at Function.cljs.core.update_in.cljs$core$IFn$_invoke$arity$3 (core.cljs:4934)
    at Function.cljs.core.update_in.cljs$core$IFn$_invoke$arity$3 (core.cljs:4933)
    at Function.cljs.core.update_in.cljs$core$IFn$_invoke$arity$3 (core.cljs:4933)
    at cljs$core$update_in (core.cljs:4925)

I am using [org.clojure/clojure "1.9.0-alpha17"] and [org.clojure/clojurescript "1.9.671"].
Am I doing something wrong?

Thanks for answering.

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