Skip to content

Converted $ macro to use variadic arguments. Added set: and mset: prefixes#2

Open
samgreen wants to merge 5 commits intodbachrach:masterfrom
samgreen:master
Open

Converted $ macro to use variadic arguments. Added set: and mset: prefixes#2
samgreen wants to merge 5 commits intodbachrach:masterfrom
samgreen:master

Conversation

@samgreen
Copy link
Copy Markdown

First off, awesome wizardry using the runtime and the new autoboxing to make this library. Really impressive!

I converted the $ macro to use __VA_ARGS__ to allow as many arguments as you'd like to the function. This was necessary for the set changes I added, otherwise the comma in the set object list confuses the compiler in to thinking it is a second parameter to the function.

Also added tests for these new items, as well as stringized tests to ensure they will be equivalent. We might want to move the code to the base block for cleaning stringized items. Open to feedback on this.

@dbachrach
Copy link
Copy Markdown
Owner

Awesome! Will take a deeper look and merge this in soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants