diff --git a/lib/steep/services/hover_content.rb b/lib/steep/services/hover_content.rb index 29ad6e9fe..190fa73ae 100644 --- a/lib/steep/services/hover_content.rb +++ b/lib/steep/services/hover_content.rb @@ -92,7 +92,7 @@ def content_for(path:, line:, column:) when RBS::Types::Interface env = service.latest_env interface_decl = env.interface_decls[type.name]&.decl or raise - location = type.location + location = type.location[:name] InterfaceContent.new( location: location,