-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
can't use keywords in {$key} syntax or as $variables #1868
Comments
It's an easy fix. The workaround for now is |
Thanks for the report! |
Thanks for your quick reply. |
@hpo14 yes. From this commit on my dlopen/co-routines branch:
|
should i close this issue ? or just wait ur PR merged ? |
No, please leave it open. I'll close it when a fix is merged. |
Since arguments also go into $ARGS.named, ( |
Ahh, so on top of the patch I already have, I need to add:
|
We should probably look at all the places where |
thank you, guys |
Describe the bug
cant use "module" as key name
To Reproduce
jq -ncsM --arg module SODIMM '{ $module, }'
Expected behavior
{"module":"SODIMM"}
Actual behavior
Environment (please complete the following information):
Additional
If i change to use "_module" then the result is fine.
The text was updated successfully, but these errors were encountered: