Fix bug where partially applied called keyword returns nil

This commit is contained in:
Scott Richmond 2023-12-18 00:42:44 -05:00
parent 0b6deefd5d
commit 3a50910e3d
2 changed files with 2 additions and 2 deletions

View File

@ -428,7 +428,7 @@
(not (= 1 length))
(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}))
:else

View File

@ -61,7 +61,7 @@
(comment
(def source "
a b c
:a (_)
")