lib/steep/interface/builder.rb in steep-0.7.0 vs lib/steep/interface/builder.rb in steep-0.7.1
- old
+ new
@@ -83,11 +83,11 @@
AST::Types::Proc.new(
params: type.params.map_type {|ty| absolute_type(ty, current: current) },
return_type: absolute_type(type.return_type, current: current),
location: type.location
)
- when AST::Types::Hash
- AST::Types::Hash.new(
+ when AST::Types::Record
+ AST::Types::Record.new(
elements: type.elements.transform_values {|ty| absolute_type(ty, current: current) },
location: type.location
)
else
type