diff --git a/src/DenseACSets.jl b/src/DenseACSets.jl index fe82011..ac0f2b6 100644 --- a/src/DenseACSets.jl +++ b/src/DenseACSets.jl @@ -201,6 +201,7 @@ macro acset_type(head) end name, schema, idx_args = @match head′ begin Expr(:call, name, schema, idx_args...) => (name, schema, idx_args) + Expr(:call, name, idx_args, schema) => (name, schema, idx_args) _ => error("Unsupported head for @acset_type") end name′ = name