Open sooheon opened 6 years ago
This is definitely related to nesting forms under assoc
.
Other reproductions:
(assoc m
:foo (when (bar? m)
(baz m))
:bar (if-not (bar? m)
(baz m)
(quux m)))
And if-not
has red inspection error squiggly under it, claiming "Incorrect arity 4 for clojure.core/if-not", when there are clearly 3 arguments.
When nested inside some other forms, the
if
macro indents strangely:Correct:
Incorrect:
Desired:
I am on cursive 1.7.0 EAP 2 2018.1.
To reproduce, enable the following in Preferences / Editor > Code Style > Clojure: