Support this in proxy
This commit is contained in:
parent
a44f66e9a1
commit
ae047b5809
2 changed files with 13 additions and 13 deletions
2
sci
2
sci
|
|
@ -1 +1 @@
|
|||
Subproject commit 9dab60653651e94bc535f8a753def10b708ff7e8
|
||||
Subproject commit 02409735ac3e085a407352ea3d0fbd29a3777816
|
||||
|
|
@ -12,18 +12,18 @@
|
|||
(case (.getName ^Class class)
|
||||
"clojure.lang.APersistentMap"
|
||||
(proxy [clojure.lang.APersistentMap] []
|
||||
(iterator [] ((method-or-bust methods 'iterator)))
|
||||
(containsKey [k] ((method-or-bust methods 'containsKey) k))
|
||||
(entryAt [k] ((method-or-bust methods 'entryAt) k))
|
||||
(iterator [] ((method-or-bust methods 'iterator) this))
|
||||
(containsKey [k] ((method-or-bust methods 'containsKey) this k))
|
||||
(entryAt [k] ((method-or-bust methods 'entryAt) this k))
|
||||
(valAt
|
||||
([k] ((method-or-bust methods 'valAt) k))
|
||||
([k default] ((method-or-bust methods 'valAt) k default)))
|
||||
(cons [v] ((method-or-bust methods 'cons) v))
|
||||
(count [] ((method-or-bust methods 'count)))
|
||||
(assoc [k v] ((method-or-bust methods 'assoc) k v))
|
||||
(without [k] ((method-or-bust methods 'without) k))
|
||||
(seq [] ((method-or-bust methods 'seq))))
|
||||
([k] ((method-or-bust methods 'valAt) this k))
|
||||
([k default] ((method-or-bust methods 'valAt) this k default)))
|
||||
(cons [v] ((method-or-bust methods 'cons) this v))
|
||||
(count [] ((method-or-bust methods 'count) this))
|
||||
(assoc [k v] ((method-or-bust methods 'assoc) this k v))
|
||||
(without [k] ((method-or-bust methods 'without) this k))
|
||||
(seq [] ((method-or-bust methods 'seq) this)))
|
||||
"clojure.lang.AMapEntry"
|
||||
(proxy [clojure.lang.AMapEntry] []
|
||||
(key [] ((method-or-bust methods 'key)))
|
||||
(val [] ((method-or-bust methods 'val))))))
|
||||
(key [] ((method-or-bust methods 'key) this))
|
||||
(val [] ((method-or-bust methods 'val) this)))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue