Fork me on GitHub
#spacemacs
<
2016-06-30
>
jasonjckn21:06:32

@mahinshaw: there's cider-error I could kill that buffer before calling cider-load-buffer , then search it for exceptions after some delay

jasonjckn21:06:48

ideally cider-load-buffer would return success or fail but I think it's async

jasonjckn21:06:59

in any case returns nil regardless

mahinshaw21:06:14

It returns the result of the last form it evaluates

mahinshaw21:06:25

by that i mean cider-load-buffer

jasonjckn21:06:42

hm, so if my last form evaluates to nil, vs an exception..

jasonjckn21:06:48

some return value

mahinshaw21:06:03

so if you last form is a defn, it will return the function

mahinshaw21:06:20

and the repl should show the compiler error

jasonjckn21:06:39

it does, but i'm trying to script this, so I can't catch compiler errors in elisp

mahinshaw21:06:46

ah. That might be a good question for the guys in the #C0617A8PQ slack channel, or on their gitter chat