sig/locator.rbs in rbs-1.6.2 vs sig/locator.rbs in rbs-1.7.0.beta.1
- old
+ new
@@ -35,10 +35,10 @@
def find_in_method_type: (Integer pos, method_type: MethodType, array: Array[component]) -> bool
def find_in_type: (Integer pos, type: Types::t, array: Array[component]) -> bool
- def find_in_loc: (Integer pos, location: Location::WithChildren[untyped, untyped] | Location | nil, array: Array[component]) -> bool
+ def find_in_loc: (Integer pos, location: Location[untyped, untyped]?, array: Array[component]) -> bool
- def test_loc: (Integer pos, location: Location?) -> bool
+ def test_loc: (Integer pos, location: Location[untyped, untyped]?) -> bool
end
end