sig/validator.rbs in rbs-3.1.1 vs sig/validator.rbs in rbs-3.1.2
- old
+ new
@@ -44,16 +44,16 @@
# Validates class alias declaration
#
# - The right hand side can be normalized
# - No mixing alias declaration between class and modules
- #
+ #
def validate_class_alias: (entry: Environment::ClassAliasEntry | Environment::ModuleAliasEntry) -> void
private
# Resolves relative type names to absolute type names in given context.
# Yields the type when the type name resolution using `#resolver` fails.
#
- def absolute_type: (Types::t, context: Resolver::context) { (Types::t) -> TypeName } -> Types::t
+ def absolute_type: (Types::t, context: Resolver::context) ?{ (Types::t) -> TypeName } -> Types::t
end
end