Skip to content

Return error from compatible_intersection with none#15512

Merged
josevalim merged 1 commit into
elixir-lang:mainfrom
lukaszsamson:ls-compatible-intersection
Jun 21, 2026
Merged

Return error from compatible_intersection with none#15512
josevalim merged 1 commit into
elixir-lang:mainfrom
lukaszsamson:ls-compatible-intersection

Conversation

@lukaszsamson

Copy link
Copy Markdown
Contributor

Match fast path behaviour with compatible?/2
Fixes #15511

Match fast path behaviour with `compatible?/2`
Fixes elixir-lang#15511
@josevalim josevalim merged commit 9347ccd into elixir-lang:main Jun 21, 2026
14 of 15 checks passed
@josevalim

Copy link
Copy Markdown
Member

💚 💙 💜 💛 ❤️

josevalim pushed a commit that referenced this pull request Jun 21, 2026
Match fast path behaviour with `compatible?/2`
Fixes #15511
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.

compatible_intersection/2 invalid for none() type

2 participants