Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
clojure.core.async/alts!! fails to check when used with any keyword arguments
Description
Using alts!! as (alts!! [(chan) (chan)] riority true) or (alts!! [(chan) (chan)] riority true :default nil) fails to check, stating that an uneven number of keyword arguments were provided to the function. Removing the keyword arguments checks :ok.
Using alts!! as (alts!! [(chan) (chan)]
riority true) or (alts!! [(chan) (chan)]
riority true :default nil) fails to check, stating that an uneven number of keyword arguments were provided to the function. Removing the keyword arguments checks :ok.
See https://gist.github.com/mybuddymichael/f584ab905a4165f273e6 for the simple test case and repl output.