sig/definition_builder.rbs in rbs-1.8.0 vs sig/definition_builder.rbs in rbs-1.8.1
- old
+ new
@@ -41,9 +41,16 @@
def insert_variable: (TypeName, Hash[Symbol, Definition::Variable], name: Symbol, type: Types::t) -> void
def define_methods: (Definition, interface_methods: Hash[Symbol, Definition::Method], methods: MethodBuilder::Methods, super_interface_method: bool) -> void
+ # Validates presence of type names recursively.
+ # Assumes the type names are already resolved.
+ #
+ def validate_type_presence: (Types::t) -> void
+
+ def validate_type_name: (TypeName, Location[untyped, untyped]?) -> void
+
# Expand a type alias of given name without type arguments.
# Raises an error if the type alias requires arguments.
#
# Assume `type foo[T] = [T, T]`:
#