Skip to content

[Doc] Clarify union vs. intersection for numeric supertype#11444

Merged
danog merged 1 commit intovimeo:6.xfrom
kylekatarnls:patch-1
May 21, 2025
Merged

[Doc] Clarify union vs. intersection for numeric supertype#11444
danog merged 1 commit intovimeo:6.xfrom
kylekatarnls:patch-1

Conversation

@kylekatarnls
Copy link
Contributor

@kylekatarnls kylekatarnls commented May 20, 2025

I guess it's int|float|numeric-string, and not int|(float&numeric-string) since float and numeric-string have no intersection. Since "or" and "and" was used in the same sentence, it was initially confusing me.

@danog danog added the release:docs The PR will be included in 'Docs' section of the release notes label May 21, 2025
@danog
Copy link
Collaborator

danog commented May 21, 2025

Yep, correct, thanks!

@danog danog merged commit 5ffdb5f into vimeo:6.x May 21, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:docs The PR will be included in 'Docs' section of the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants