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

Allow arbitrary expressions as default arguments #400

Merged
merged 5 commits into from
Apr 12, 2019
Merged

Allow arbitrary expressions as default arguments #400

merged 5 commits into from
Apr 12, 2019

Conversation

casey
Copy link
Owner

@casey casey commented Apr 12, 2019

Concatenation and variadic arguments conflict, since they both use +. To get around this, parenthesis are added to the language, and default arguments expressions that contain concatenations must be parenthesized.

Fixes #391 and #336. Also fixes #396, since it tests that all justfiles can be dumped and reparsed.

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.

--dump output should always be valid justfile Allow expressions as default values in recipes
1 participant