diff --git a/core/array.rbs b/core/array.rbs index 188e0df81..d0b1c74e9 100644 --- a/core/array.rbs +++ b/core/array.rbs @@ -1114,7 +1114,7 @@ class Array[unchecked out E] < Object # Related: see [Methods for Querying](rdoc-ref:Array@Methods+for+Querying). # def all?: () -> bool - | (_Pattern[E] pattern) -> bool + | (RBS::Ops::_CaseEqual[E] pattern) -> bool | () { (E obj) -> boolish } -> bool # # Returns whether `key` is a key in `self`: @@ -1556,7 +1555,7 @@ class Hash[unchecked out K, unchecked out V] # # Related: see [Methods for Fetching](rdoc-ref:Hash@Methods+for+Fetching). # - def rassoc: (_Equals value) -> [ K, V ]? + def rassoc: (RBS::Ops::_Equals value) -> [ K, V ]? #