Skip to content

Correct tuple difference comments - #15859

Merged
josevalim merged 1 commit into
elixir-lang:mainfrom
preciz:docs/tuple-difference-comments
Sep 5, 2026
Merged

Correct tuple difference comments#15859
josevalim merged 1 commit into
elixir-lang:mainfrom
preciz:docs/tuple-difference-comments

Conversation

@preciz

@preciz preciz commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Assisted-by: Codex:GPT-6

Coding agent thinks the original comment is incorrect:

The old comment said the difference was empty. Actually, the intersection is empty, and the difference is the original type.

Size and content branches may overlap. The disjointness fast path leaves
the positive tuple unchanged.

Size and content branches may overlap. The disjointness fast path leaves
the positive tuple unchanged.

Assisted-by: Codex:GPT-6
@josevalim
josevalim merged commit bb69e59 into elixir-lang:main Sep 5, 2026
@josevalim

Copy link
Copy Markdown
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants