lib/rbs/environment.rb in rbs-1.7.1 vs lib/rbs/environment.rb in rbs-1.8.0
- old
+ new
@@ -317,9 +317,10 @@
annotations: decl.annotations
)
when AST::Declarations::Alias
AST::Declarations::Alias.new(
name: decl.name.with_prefix(prefix),
+ type_params: decl.type_params,
type: absolute_type(resolver, decl.type, context: context),
location: decl.location,
annotations: decl.annotations,
comment: decl.comment
)