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

IsReferenceTest: fix invalid test case #426

Merged
merged 1 commit into from
Mar 31, 2024

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Mar 31, 2024

Description

Closures use clauses only take plain variables, not complex variables, like properties or array keys.

In other words, this test case as-is, was a parse error.

For the purposes of this test, it makes no difference what type of variable is passed, so let's fix the test.

Related to #152

Suggested changelog entry

N/A

Closures use clauses only take plain variables, not complex variables, like properties or array keys.

In other words, this test case as-is, was a parse error.

For the purposes of this test, it makes no difference what type of variable is passed, so let's fix the test.
@jrfnl jrfnl added this to the 3.9.1 milestone Mar 31, 2024
@jrfnl jrfnl enabled auto-merge March 31, 2024 13:09
@jrfnl jrfnl merged commit eeb5c29 into master Mar 31, 2024
46 checks passed
@jrfnl jrfnl deleted the feature/tests-fix-invalid-testcase branch March 31, 2024 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant