Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Multiple defns inside let are not displayed correctly #84

Open
ath opened this Issue · 0 comments

1 participant

@ath

Reproduce this with Marginalia 0.6.1:

(let [y 1]
  (defn foo
    "Adds 1 to `x`."
    [x]
    (+ x y))
  (defn bar
    "Subtracts 1 from `x`."
    [x]
    (- x y)))

After a lein marg this will result in something like this:

Adds 1 to x.Subtracts 1 from x.             (let [y 1]
                                              (defn foo
                                                [x]
                                                (+ x y))
                                              (defn bar
                                                [x]
                                                (- x y)))

while it should be:

                                            (let [y 1]
Adds 1 to x.                                  (defn foo
                                                [x]
                                                (+ x y))
Subtracts 1 from x.                           (defn bar
                                                [x]
                                                (- x y)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.