Skip to content

Evaling an erroring form into a comment #2718

@RickMoynihan

Description

@RickMoynihan

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:

  1. Not yield a ;; => at all (just the empty string) (and appropriate cider error buffer)

or it should:

  1. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issueA simple tasks suitable for first-time contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions