tpope / vim-fireplace

fireplace.vim: Clojure REPL support
https://www.vim.org/scripts/script.php?script_id=4978
1.75k stars 139 forks source link

Can't Evaluate Record Constructor #168

Closed lambdahands closed 10 years ago

lambdahands commented 10 years ago

I'm hitting a brick wall in vim-fireplace. I can create a record fine, like so:

(defprotocol A (hello [this])

(defrecord Thing [name]
  A
  (hello [_] (println name)))

Evaluating gives me no issues until I attempt to construct the record:

(->Thing "Fred")

Vim gives out: Vim(python):Traceback (most recent call last):, which isn't a helpful or descriptive error. I can't find anything related to this issue after about a half hour of searching. Is there any idea what the cause of this is?

lambdahands commented 10 years ago

Maybe I'm going crazy, but the issue seemed to just go away after trying this again. I have no idea where this was coming from in the first place.