Named compile-time arguments
cbuttner opened this issue · comments
Christian Buttner commented
Is this a possibility?
macro foo($bar, $Type) {}
fn void bar() {
foo(.$bar = 1, .$Type = int);
}
Christoffer Lerno commented
Yes, that should work.
Christoffer Lerno commented
You can now test this on latest.
Christian Buttner commented
Looks good.