[CLJ-941] NullPointerException possible with seq-zip Created: 26/Feb/12 Updated: 26/Feb/12 |
|
| Status: | Open |
| Project: | Clojure |
| Component/s: | None |
| Affects Version/s: | Release 1.3 |
| Fix Version/s: | None |
| Type: | Defect | Priority: | Minor |
| Reporter: | Greg Chapman | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
For example: Clojure 1.3.0 Possibly the make-node function for seq-zip should be: (fn [node children] (with-meta (or children ()) (meta node))) |
| Comments |
| Comment by Greg Chapman [ 26/Feb/12 5:54 PM ] |
|
Also the docstring for zipper should probably be updated to indicate that the children parameter can be nil. |