-
-
Notifications
You must be signed in to change notification settings - Fork 313
Closed
Labels
BugSomething isn't workingSomething isn't workingFixed needs testingNeeds verification / testing that it now worksNeeds verification / testing that it now works
Milestone
Description
Is this intended or a limitation of $vaexpr?
module test;
import std::io;
fn int main(String[] args) {
io::printn(@foo1(args)); // Prints "args"
io::printn(@foo2(args)); // Prints "$vaexpr[0]"
return 0;
}
macro @foo1(#expr) {
return $stringify(#expr);
}
macro @foo2(...) {
return $stringify($vaexpr[0]);
}Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't workingFixed needs testingNeeds verification / testing that it now worksNeeds verification / testing that it now works