This repository was archived by the owner on Jul 5, 2023. It is now read-only.
This repository was archived by the owner on Jul 5, 2023. It is now read-only.
Clarifying the README about find, first and last #18
Closed
Description
Currently, the README says:
Sorbet does not allow us to define multiple signatures for a function.
But it seems to work for Enumerable#first for instance, and the definition in Sorbet uses multiple signatures for a function: https://github.com/sorbet/sorbet/blob/119e937e9e3b03ec27308cd8874f482791d15864/rbi/core/enumerable.rbi#L167-L174
Probably that was in an earlier version of Sorbet and now it could work out of the box?
Metadata
Metadata
Assignees
Labels
No labels