What i want is like this:
macro macro1(arg : Array(String))
end
macro macro1(arg : Hash(String, String))
end
But, compiler complain the syntax error:
Error: expecting token ')', not ':'
So, i am curious, how to write one macro, which make it support both Array or Hash as args?
Thank you.