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

Backport: fix varargs (i.e. <n+:n>) signature validation #8

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

uw4
Copy link
Contributor

@uw4 uw4 commented Sep 18, 2024

Using n+:n signature, validate will return the first arg n times.

As Python was ported from the Java impl it should be backported:

Original fix here:
dashjoin/jsonata-java@3849b71

Test case:
dashjoin/jsonata-java@abf12e9

Using <n+:n> signature, validate will return the first arg n times. 

As Python was ported from the Java impl it should be backported:

Original fix here:
dashjoin/jsonata-java@3849b71

Test case:
dashjoin/jsonata-java@abf12e9
Copy link
Owner

@rayokota rayokota left a comment

Choose a reason for hiding this comment

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

Thanks @uw4 , appreciate the back port! :)

@rayokota rayokota merged commit a8620b9 into rayokota:master Sep 18, 2024
12 checks passed
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