Here is what is happening:
Go to the defrecord line and compile in place using C-c C-c
You will see that dameon.visual_cortex.derp appears. Notice the underscore and not the hyphen.
Clojure converts all _ to -, but apparently not for records since they are Java classes.
I know this is a very specific error reproduction, but I know why it is happening.
First, I can haz you reproduce it.
Start a new Lein project
Save the following to ./src/dameon/visual_cortex/derp.clj
C-c C-l to load derp.clj
Then go back into the buffer and type
You will get a Cider Middleware Error
Here is what is happening: Go to the defrecord line and compile in place using C-c C-c You will see that
dameon.visual_cortex.derp
appears. Notice the underscore and not the hyphen.Clojure converts all _ to -, but apparently not for records since they are Java classes.