Skip to content

Commit

Permalink
fix protocol (#548)
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude authored Aug 20, 2024
1 parent d453309 commit 013efcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/squint/internal/protocols.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
(defn insert-this [method-bodies]
(if (vector? (first method-bodies))
(list* (first method-bodies)
(list 'js* "~{} = this; const self__ = this" (ffirst method-bodies))
(list 'js* "const self__ = this")
(rest method-bodies))
;; multi-arity
(map insert-this method-bodies)))
Expand Down

0 comments on commit 013efcc

Please sign in to comment.