Support defs with multiple arguments #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This allows directives added to
mold.defsas functions to use multiple arguments. The template syntax for this would be<<def $in.first, $in.second>>. I didn't have to make any changes to the compiler to support this. All that was needed was to make sure that thedispatchmethod can pass on an arbitrary amount of args instead of just the one.Seems reasonable!