Open jarohen opened 9 years ago
These seem to work. but sometimes (i.e. I can't figure out why) these leave warnings about undeclared vars that aren't actually undeclared.
e.g.
(f/el
(let [a 2]
(when (= a 2)
...)))
doesn't warn, but
(f/el
(let [a 2]
(when (and (= a 2)
(= 4 4))
...)))
does. It then goes on to work at run-time.
Strange.
It's having trouble with macros that expand to inline JS (
(js* ...)
) - need to handle this explicity.This is a pretty important fix -
(and ...)
and(or ...)
both expand to this.