Haxe macroでtypeのArrayを定義する
var ct: ComplexType = TPath({ pack: [], name: 'Array', params: [TPType(type.toComplexType())] });
fields.push({
pos: pos,
name: "value",
access: [APublic],
kind: FVar(ct, macro []),
meta: [{ name: ":s", pos: pos }]
});ついでに、metaつける時にずっと'@:s'渡して付かんなぁ〜って言ってたので供養