sig/definition_builder.rbs in rbs-1.6.2 vs sig/definition_builder.rbs in rbs-1.7.0.beta.1

- old
+ new

@@ -12,11 +12,11 @@ def initialize: (env: Environment, ?ancestor_builder: AncestorBuilder?, ?method_builder: MethodBuilder?) -> void def validate_super_class!: (TypeName, Environment::ClassEntry) -> void - def ensure_namespace!: (Namespace, location: Location?) -> void + def ensure_namespace!: (Namespace, location: Location[untyped, untyped]?) -> void def build_interface: (TypeName) -> Definition def build_instance: (TypeName, ?no_self_types: bool) -> Definition @@ -35,10 +35,10 @@ def validate_params_with: (AST::Declarations::ModuleTypeParams, result: VarianceCalculator::Result) { (AST::Declarations::ModuleTypeParams::TypeParam) -> void } -> void def validate_type_params: (Definition, ancestors: AncestorBuilder::OneAncestors, methods: MethodBuilder::Methods) -> void - def source_location: (Definition::Ancestor::Instance::source, AST::Declarations::t) -> Location? + def source_location: (Definition::Ancestor::Instance::source, AST::Declarations::t) -> Location[untyped, untyped]? 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