Skip to content

Conversation

@sampersand
Copy link
Contributor

@sampersand sampersand commented Nov 24, 2025

This PR updates Enumerable#include? (and member?) to accept untyped instead of Elem

@ParadoxV5
Copy link
Contributor

Duplicate of #2273

Could #1875 help with the uncertainty?

def include?: (Elem sample) -> bool
            & (untyped object) -> false

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.

2 participants