Skip to content

Commit b208084

Browse files
committed
fix defmulti to be called without ctx
1 parent 82901e8 commit b208084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sci/impl/multimethods.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
{:arglists '([name docstring? attr-map? dispatch-fn & options])}
4747
[_ _ ctx mm-name & options]
4848
(let [[ctx mm-name options] (if (symbol? ctx)
49-
[nil ctx mm-name options]
49+
[nil ctx (cons mm-name options)]
5050
[ctx mm-name options])
5151
docstring (if (string? (first options))
5252
(first options)

0 commit comments

Comments
 (0)