Skip to content

forms-str does not match arglists-str #411

@xiongtx

Description

@xiongtx

Expected behavior

The format of :forms-str from cider.nrepl.middleware.info/format-response should match that of arglist-str.

CIDER's cider-docview-render-info, for example, treats them the same.

Actual behavior

The value of :forms-str does not match that of :arglist-str.

For :forms-str,

  • There are two leading spaces
  • Forms are joined with newlines

This causes forms to be rendered incorrectly in the doc buffer by cider-docview-render-info.

It's not clear why this is the case. Where are the leading spaces and newlines used?

Steps to reproduce the problem

Not necessary.

Environment & Version information

cider-nrepl version

0.14.0

Java version

openjdk version "1.8.0_111"

Operating system

Fedora 24

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions