summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/clj/clojure/core_proxy.clj6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/clj/clojure/core_proxy.clj b/src/clj/clojure/core_proxy.clj
index 38f4ccca..8fe4517b 100644
--- a/src/clj/clojure/core_proxy.clj
+++ b/src/clj/clojure/core_proxy.clj
@@ -276,7 +276,8 @@
sets the proxy's fn map."
{:added "1.0"}
[^IProxy proxy mappings]
- (. proxy (__initClojureFnMappings mappings)))
+ (. proxy (__initClojureFnMappings mappings))
+ proxy)
(defn update-proxy
"Takes a proxy instance and a map of strings (which must
@@ -289,7 +290,8 @@
behavior of an existing instance without changing its identity."
{:added "1.0"}
[^IProxy proxy mappings]
- (. proxy (__updateClojureFnMappings mappings)))
+ (. proxy (__updateClojureFnMappings mappings))
+ proxy)
(defn proxy-mappings
"Takes a proxy instance and returns the proxy's fn map."