parser: when parsing 'template [T1,T2] type ...' modify each returned ast.TypeSpec{} by replacing its Type with a CompositeLit{Type: <declared type>, Elts: <template arguments>}
parser: when parsing 'template [T1,T2] type ...' modify each returned ast.TypeSpec{}
by replacing its Type with a CompositeLit{Type: <declared type>, Elts: <template arguments>}

This is a dirty hack, but allows storing template arguments into existing ast.Node objects

cosmos72/gomacro,cosmos72/gomacro,cosmos72/gomacro