sig/steep/signature/validator.rbs in steep-1.5.3 vs sig/steep/signature/validator.rbs in steep-1.6.0.pre.1
- old
+ new
@@ -64,9 +64,14 @@
def validate_global: () -> void
def validate_one_global: (Symbol name, RBS::Environment::GlobalEntry) -> void
+ # Validate type alias
+ #
+ # 1. Make sure the outer namespace of given `name` exists
+ # 2. Make sure the type alias is valid with respect to `RBS::Validator`
+ #
def validate_one_alias: (RBS::TypeName name, ?RBS::Environment::TypeAliasEntry entry) -> void
def validate_one_class_decl: (RBS::TypeName) -> void
def validate_one_class_alias: (RBS::TypeName, RBS::Environment::ClassAliasEntry | RBS::Environment::ModuleAliasEntry) -> void