lib/rbs/environment.rb in rbs-0.20.1 vs lib/rbs/environment.rb in rbs-1.0.0.pre
- old
+ new
@@ -242,10 +242,11 @@
name: decl.name.with_prefix(prefix),
type_params: decl.type_params,
super_class: decl.super_class&.yield_self do |super_class|
AST::Declarations::Class::Super.new(
name: absolute_type_name(resolver, super_class.name, context: context),
- args: super_class.args.map {|type| absolute_type(resolver, type, context: context) }
+ args: super_class.args.map {|type| absolute_type(resolver, type, context: context) },
+ location: super_class.location
)
end,
members: decl.members.map do |member|
case member
when AST::Members::Base