[CLJ-1114] reify ignores :pre and :post Created: 25/Nov/12 Updated: 15/Dec/12 Resolved: 15/Dec/12 |
|
| Status: | Closed |
| Project: | Clojure |
| Component/s: | None |
| Affects Version/s: | Release 1.4 |
| Fix Version/s: | None |
| Type: | Enhancement | Priority: | Minor |
| Reporter: | Yongqian Li | Assignee: | Unassigned |
| Resolution: | Completed | Votes: | 0 |
| Labels: | None | ||
| Approval: | Not Approved |
| Description |
|
reify ignores :pre and :post assertions user=> ((reify clojure.lang.IFn (invoke [this] {:pre [false]} (println "hello")))) Expected exception to be thrown |
| Comments |
| Comment by Stuart Halloway [ 25/Nov/12 6:52 PM ] |
|
reify is not documented to support these, so this should be classified as an enhancement |
| Comment by Timothy Baldridge [ 30/Nov/12 2:51 PM ] |
|
Vetted. |