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

generate error when repeated clause contains distinct AndNext and OrNext clauses #545

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

Jamiras
Copy link
Owner

@Jamiras Jamiras commented Nov 14, 2024

closes #544

Causes the problematic subclause never(repeated(N, once(A=1 && B=2) && (C=3 || D=4))) to generate an error instead of being incorrectly interpolated.

The bulk of the modifications are calling a function overload when a function call fails so the line number is reported correctly.

@Jamiras Jamiras added this to the 1.15.1 milestone Nov 14, 2024
@Jamiras Jamiras merged commit 3c3df26 into master Nov 20, 2024
1 check passed
@Jamiras Jamiras deleted the bugfix/complex_subclause branch November 20, 2024 23:34
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.

[Bug] repeated() removes hit targets in subclauses
1 participant