Fix bug where partially applied called keyword returns nil
This commit is contained in:
parent
0b6deefd5d
commit
3a50910e3d
|
@ -428,7 +428,7 @@
|
||||||
(not (= 1 length))
|
(not (= 1 length))
|
||||||
(throw (ex-info "Called keywords must be unary" {:ast tuple}))
|
(throw (ex-info "Called keywords must be unary" {:ast tuple}))
|
||||||
|
|
||||||
(partial? tuple)
|
(partial? members)
|
||||||
(throw (ex-info "Called keywords may not be partially applied" {:ast tuple}))
|
(throw (ex-info "Called keywords may not be partially applied" {:ast tuple}))
|
||||||
|
|
||||||
:else
|
:else
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
(comment
|
(comment
|
||||||
(def source "
|
(def source "
|
||||||
|
|
||||||
a b c
|
:a (_)
|
||||||
|
|
||||||
")
|
")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user