[CLJS-408] Include :form on fn :methods in AST Created: 24/Oct/12 Updated: 27/Jul/13 Resolved: 27/Oct/12
All core CLJS AST nodes include a :form key. Several quasi-nodes similarly include their originating code forms. Although :fn nodes include their :form, it varies between single and multiple arity functions. I've found it easier to assume multiple arities and always analyze :methods directly. Unfortunately, the methods lack :form keys. This simple patch exposes the form of each method, simplifying function transformations.
|Comment by David Nolen [ 27/Oct/12 4:52 PM ]|