[ASYNC-22] IOC macro does not handle Dot special form Created: 09/Sep/13 Updated: 04/Oct/13 Resolved: 04/Oct/13
|Reporter:||Ben Mabey||Assignee:||Timothy Baldridge|
I've tested with using the latest snapshot of core.async and latest on github.
Results in this error:
Looking at the expansion of the state machine the problem seems to be that SSA transformation is treating the (add 1 2) as a separate expression that needs to be evaluated (and assigned) before the clojure.lang.Numbers:
The newer / form works fine, e.g. (Math/abs -2), and that is how I would write static method calls myself but I am using macros that expand to the older dot syntax above.
Do you see this as a case the IOC macro should be handling?
|Comment by Timothy Baldridge [ 04/Oct/13 1:42 PM ]|
Fixed in master