Skip to content

Commit

Permalink
add back assert
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Nov 17, 2023
1 parent e29ba78 commit 08bab21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sci/configs/hoplon/hoplon.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
:else (span \"Default\"))
"
[& clauses]
(assert (even? (count clauses)))
(let [[conds tpls] (apply map vector (partition 2 clauses))
syms1 (repeatedly (count conds) gensym)
syms2 (repeatedly (count conds) gensym)]
Expand Down

0 comments on commit 08bab21

Please sign in to comment.