Skip to content

Fix issue with "new RangeImpl" #2079

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

Merged
merged 1 commit into from
Mar 25, 2025
Merged

Fix issue with "new RangeImpl" #2079

merged 1 commit into from
Mar 25, 2025

Conversation

jdeniau
Copy link
Member

@jdeniau jdeniau commented Mar 25, 2025

calling new Range will fail with modern classes.
Do call the factory method instead of the class constructor

Follows #2078

@jdeniau jdeniau merged commit 1dd0d10 into 6.x Mar 25, 2025
5 checks passed
@jdeniau jdeniau deleted the avoid-new-range branch March 25, 2025 22:53
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.

1 participant