<< Back to previous view

[CMEMOIZE-6] assert on ttl fn value makes any callable other than a pure clojure.lang.Fn be rejected Created: 27/Jun/13  Updated: 28/Jun/13  Resolved: 28/Jun/13

Status: Resolved
Project: core.memoize
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: Max Penet Assignee: Fogus
Resolution: Completed Votes: 0
Labels: bug, patch

Attachments: Text File fix-assert.patch    
Patch: Code


ttl memoize used to accept multimethods for instance, this is no longer the case since the latest version where an assert? was introduced that checks using fn?

The patch attached allows any of the following: clojure.lang.IFn, clojure.lang.AFn, java.lang.Runnable, java.util.concurrent.Callable.

(I am a registered contributor listed under "Maximilien Penet (mpenet)")

Comment by Fogus [ 28/Jun/13 7:17 AM ]

This is fixed on master. I will push a point-release out to Maven Central later today.

Comment by Fogus [ 28/Jun/13 7:31 AM ]

Applied to master. A new release will come soon.

Generated at Sat Jan 20 09:41:19 CST 2018 using JIRA 4.4#649-r158309.