esprit icon indicating copy to clipboard operation
esprit copied to clipboard

Return value of write calls not properly handled

Open mfikes opened this issue 4 years ago • 1 comments

cljs.user=> (.write js/D21 false)
ReferenceError: "0" is not defined
 at line 13 col 7
throw e__6755__auto__;
      ^
in function called from line 14 col 5
}})()
   ^
at line 1 col 89
...tus:"success",value:eval(d)}}catch(f){var a=f;return{status:...

Workaround:

(do (.write js/D21 false) nil)

mfikes avatar Jun 20 '20 18:06 mfikes

Fixed in #26

kiranshila avatar Aug 17 '20 22:08 kiranshila