Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement named arguments #6

Merged
merged 1 commit into from
Nov 15, 2019
Merged

Conversation

vendethiel
Copy link
Member

Those are fairly straightforward, since they (mostly) mimic the semantics of Raku's.
The only extra effort we do is ensure at template parse time that we're not mix-matching nameds and positionals in a way that's not allowed by the underlying compiler.

@vendethiel vendethiel force-pushed the named-arguments branch 2 times, most recently from 9ee5d97 to 0196c47 Compare November 15, 2019 16:33
Copy link
Member

@jnthn jnthn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good; two tiny things.

README.md Show resolved Hide resolved
t/test-data/sub-4.crotmp Show resolved Hide resolved
Those are fairly straightforward, since they (mostly) mimic the semantics of Raku's.
The only extra effort we do is ensure at template parse time that we're not mix-matching nameds and positionals in a way that's not allowed by the underlying compiler.
@jnthn jnthn merged commit 9d6cfb1 into croservices:master Nov 15, 2019
@vendethiel vendethiel deleted the named-arguments branch November 15, 2019 21:01
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.

None yet

2 participants