forked from ruby/rbs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Enumerable's predicate blocks return bool instead of untyped
For example, the return value of the block of Enumerable#all? is handled as bool. In this case, it will bring no difference, but I think it is a good habit to use a more explicit name instead of "untyped". Note, if the definition of `bool` is changed according to ruby#133, they should be changed again.
- Loading branch information
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters