We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Code
sub f(any a) { printf("ARG: %N\n", a); } f(("a",)); f(((),)); f(((),()));
Result
ARG: list: (1 element) [0]="a" ARG: <EMPTY LIST> ARG: list: (2 elements) [0]=<EMPTY LIST> [1]=<EMPTY LIST>
Expected result:
ARG: list: (1 element) [0]="a" ARG: list: (1 element) [0]=<EMPTY LIST> ARG: list: (2 elements) [0]=<EMPTY LIST> [1]=<EMPTY LIST>
The text was updated successfully, but these errors were encountered:
When this is fixed, please uncomment pushEmptyListToEmptyList and unshiftEmptyListToEmptyList in examples/test/qore/operators/list_ops.qtest
examples/test/qore/operators/list_ops.qtest
Sorry, something went wrong.
Another example (from #480):
$ qore -n -e 'const c = (("a",),); printf("%N\n", c);' list: (1 element) [0]="a"
refs #320 fixed nested list parsing
f2074fb
Merge pull request #498 from qorelanguage/bugfix/320_nested_list_parsing
259be7d
No branches or pull requests
Code
Result
Expected result:
The text was updated successfully, but these errors were encountered: