You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Evaling the form (throw (ex-info "foo" {})) with M-x cider-pprint-eval-last-sexp-to-comment yields the empty comment string:
;; =>
Arguably it should either:
Not yield a ;; => at all (just the empty string) (and appropriate cider error buffer)
or it should:
Print the error in the comment.
The later might be useful when describing code interactions and REPL sessions; though I think the former might be a more sensible default for normal usage.
The text was updated successfully, but these errors were encountered:
If an error is returned when pprint-eval-last-sexp-to-comment is called,
the result string will be empty. While it may ocassionally make sense to
print out the exception, typically people will only want the successful
evaluation, without having to clean up the empty comment string.
Evaling the form
(throw (ex-info "foo" {}))
withM-x cider-pprint-eval-last-sexp-to-comment
yields the empty comment string:Arguably it should either:
;; =>
at all (just the empty string) (and appropriate cider error buffer)or it should:
The later might be useful when describing code interactions and REPL sessions; though I think the former might be a more sensible default for normal usage.
The text was updated successfully, but these errors were encountered: