Welcome! Please see the About page for a little more info on how this works.

0 votes
in Compiler by
If the second argument to {{.}} is a {{seq?}} every additional arg is silently dropped. In CLJS this throws a compile error.


(. "xyz" (substring 1) (throw :bug?))
=> "yz"


Might be neat to at least get a warning since it's not immediately obvious when accidentally using {{.}} instead of {{..}}.

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJ-2261 (reported by thheller)
...