lib/steep/services/hover_content.rb in steep-0.46.0 vs lib/steep/services/hover_content.rb in steep-0.47.0

- old
+ new

@@ -72,9 +72,12 @@ return if decls.nil? locator = RBS::Locator.new(decls: decls) hd, tail = locator.find2(line: line, column: column) + # Maybe hover on comment + return if tail.nil? + case type = tail[0] when RBS::Types::Alias alias_decl = service.latest_env.alias_decls[type.name]&.decl or raise location = tail[0].location