Skip to content

Commit

Permalink
fix browser tests compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurC committed Jan 26, 2024
1 parent 81b27d5 commit 196d3fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/hyperfiddle/electric/impl/runtime_de.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@
[^Frame frame]
(.-ctor frame))

(deftype Node [frame id]
(deftype Node [^Frame frame id]
IFn
(#?(:clj invoke :cljs -invoke) [_ step done]
((aget (.-signals frame) id) step done)))

(deftype Call [frame id]
(deftype Call [^Frame frame id]
IFn
(#?(:clj invoke :cljs -invoke) [_ step done]
(let [cdef (ctor-cdef (frame-ctor frame))]
Expand Down
6 changes: 2 additions & 4 deletions src/hyperfiddle/incseq.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -1357,9 +1357,7 @@ optional `compare` function, `clojure.core/compare` by default.
:change {0 curr}
:freeze #{}})))))))))))))))

(def ^{:arglists '([incseq])
:doc "
"} items
(def ^{:arglists '([incseq])} items
(let [slot-lock 0
slot-busy 1
slot-buffer 2
Expand Down Expand Up @@ -1852,4 +1850,4 @@ optional `compare` function, `clojure.core/compare` by default.
:change {0 (fn [n t] (n) (->Ps q #(% :cancel) #(%)))}})
(q {:grow 1 :degree 1 :shrink 0 :permutation {} :change {0 "hello"} :freeze #{}})
@ps := {:degree 2 :permutation {0 1, 1 0} :grow 1 :shrink 0 :change {0 "hello"} :freeze #{}}
(q) := :cancel)))
(q) := :cancel)))

0 comments on commit 196d3fe

Please sign in to comment.