Skip to content

Commit

Permalink
[lang] remove reflection
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurC committed Aug 22, 2024
1 parent 6665810 commit 249c0ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hyperfiddle/electric/impl/lang_de2.clj
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
#_else (?expand-macro o env -expand-all-foreign)))

(instance? cljs.tagged_literals.JSValue o)
(cljs.tagged_literals.JSValue. (-expand-all-foreign (.-val o) env))
(cljs.tagged_literals.JSValue. (-expand-all-foreign (.-val ^cljs.tagged_literals.JSValue o) env))

(map-entry? o) (clojure.lang.MapEntry. (-expand-all-foreign (key o) env) (-expand-all-foreign (val o) env))
(coll? o) (?meta (meta o) (into (empty o) (map (fn-> -expand-all-foreign env)) o))
Expand Down Expand Up @@ -304,7 +304,7 @@
#_else (?expand-macro o env -expand-all)))

(instance? cljs.tagged_literals.JSValue o)
(cljs.tagged_literals.JSValue. (-expand-all (.-val o) env))
(cljs.tagged_literals.JSValue. (-expand-all (.-val ^cljs.tagged_literals.JSValue o) env))

(map-entry? o) (clojure.lang.MapEntry. (-expand-all (key o) env) (-expand-all (val o) env))
(coll? o) (?meta (meta o) (into (empty o) (map (fn-> -expand-all env)) o))
Expand Down

0 comments on commit 249c0ca

Please sign in to comment.