Skip to content

Debugger skips local variables if they have the same name as a function from core #1428

@bbatsov

Description

@bbatsov

While working on my slides for tomorrow's CIDER talk I noticed that when I instrument this:

defn fibo-iter
  ([n] (fibo-iter 0 1 n))
  ([curr next n]
   (cond
     (zero? n) curr
     :else (recur next (+ curr next) (dec n))))

stepping passes over the first argument of recur (next).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions