Details
-
Type:
Enhancement
-
Status:
Closed
-
Resolution: Declined
-
Affects Version/s: None
-
Fix Version/s: Backlog
-
Component/s: None
-
Labels:None
Description
macroexpand and macroexpand-1 currently do not respect the :inline metadata of
functions. For example you currently see:
(macroexpand '(+ 1 2))
;=> (+ 1 2)
Instead, macroexpand should return something like:
;=> (. clojure.lang.Numbers (add 1 2))
...depending of course on the exact definition of +'s :inline fn.
Converted from http://www.assembla.com/spaces/clojure/tickets/251