Skip to content

Extract-fn failure: #3

Description

@tom-pang

extracting: (find-bindings-above-node (first node) expr bnd-syms)

from
(defn find-bindings-above-node
"Returns all binding forms above expr in node."
([node expr](find-bindings-above-node node expr []))
([node expr bnd-syms]
(unique-vec
(flatten
(cond (more-than-one seq? node)
(process-multiple-nodes node expr bnd-syms)

         (last-binding-form? node)
         (add-binding-form node bnd-syms)

         (binding-node? node)
         (process-remaining-bindings node expr bnd-syms)

         (seq? (first node))
         (find-bindings-above-node (first node) expr bnd-syms)

         :else
         (find-bindings-above-node (rest node) expr bnd-syms))))))

fails

No error thrown

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions