No protocol method defined for type object: :empty

647 views Asked by At

I'm trying to fix a bug in a Clojurescript frontend using Reagent and Re-frame. I find the error messages a little difficult to decipher at times and I can't crack this one.

All I know is that I'm getting a bug in a particular view like this:

No protocol method IAssociative.-assoc defined for type object: :empty

I'm going to take a wild guess that I'm trying to assoc something with the type :empty. What kind of data would have a type of :empty?

Am I at least on the right track? What sorts of things could raise an exception like this?

This is what my stack trace looks like:

enter image description here

0

There are 0 answers