rbs icon indicating copy to clipboard operation
rbs copied to clipboard

[Enumerable] Update include? to accept untyped

Open sampersand opened this issue 1 month ago • 1 comments

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

sampersand avatar Nov 24 '25 00:11 sampersand

Duplicate of #2273

Could #1875 help with the uncertainty?

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

ParadoxV5 avatar Nov 24 '25 01:11 ParadoxV5