Skip to content

Commit

Permalink
update the docstring of debug/looks-step-innable?
Browse files Browse the repository at this point in the history
  • Loading branch information
darkleaf committed Feb 20, 2024
1 parent 30d69af commit f375986
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cider/nrepl/middleware/debug.clj
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,9 @@ this map (identified by a key), and will `dissoc` it afterwards."}

(defn looks-step-innable?
"Decide whether a form looks like a call to a function that we could
instrument and step into."
instrument and step into.
You should prefer the second arity with the `&env` argument
to handle a local shadowing correctly."
([form]
(looks-step-innable? nil form))
([&env form]
Expand Down

0 comments on commit f375986

Please sign in to comment.