lib/steep/project/hover_content.rb in steep-0.16.0 vs lib/steep/project/hover_content.rb in steep-0.16.1

- old
+ new

@@ -108,10 +108,10 @@ ) when :def, :defs context = status.typing.context_at(line: line, column: column) method_context = context.method_context - if method_context + if method_context && method_context.method DefinitionContent.new( node: node, method_name: method_context.name, method_type: method_context.method_type, definition: method_context.method,