[TLOG-10] Double-evaluation of arguments Created: 04/Feb/13 Updated: 04/Feb/13 Resolved: 04/Feb/13 |
|
| Status: | Closed |
| Project: | tools.logging |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Defect | Priority: | Major |
| Reporter: | Chris Perkins | Assignee: | Alexander Taggart |
| Resolution: | Completed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
tools.logging 0.2.5-SNAPSHOT |
||
| Attachments: |
|
| Description |
|
The expansion of the log macros can double-evaluate the first argument. For example, the following call: (log/info (expensive-call foo) bar) Expands to this: (let* Note the calls to "expensive-call" both in the instance check and in the log* call. |
| Comments |
| Comment by Alexander Taggart [ 04/Feb/13 10:28 PM ] |
|
Fixed in 0.2.6. |