diff options
author | Rich Hickey <richhickey@gmail.com> | 2009-02-10 00:23:59 +0000 |
---|---|---|
committer | Rich Hickey <richhickey@gmail.com> | 2009-02-10 00:23:59 +0000 |
commit | 4339c80e5d70113b26c4d2dbfaa2a9ed3689916d (patch) | |
tree | 01543809bcf5e0eb85fda0bd972c6a2f5943c2c9 /src | |
parent | 6b6bad7dfa49674b73147a671e1606b2b1bf253c (diff) |
fixed get overload in future-call
Diffstat (limited to 'src')
-rw-r--r-- | src/clj/clojure/core.clj | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clj/clojure/core.clj b/src/clj/clojure/core.clj index fc31be7c..b5592c54 100644 --- a/src/clj/clojure/core.clj +++ b/src/clj/clojure/core.clj @@ -3909,8 +3909,8 @@ (let [fut (.submit clojure.lang.Agent/pooledExecutor f)] (proxy [clojure.lang.IDeref java.util.concurrent.Future] [] (deref [] (.get fut)) - (get [] (.get fut)) - (get [timeout unit] (.get fut timeout unit)) + (get ([] (.get fut)) + ([timeout unit] (.get fut timeout unit))) (isCancelled [] (.isCancelled fut)) (isDone [] (.isDone fut)) (cancel [interrupt?] (.cancel fut interrupt?))))) |