File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ def handle_super_node_definition
249249 return unless surrounding_method
250250
251251 handle_method_definition (
252- surrounding_method ,
252+ surrounding_method . name ,
253253 @type_inferrer . infer_receiver_type ( @node_context ) ,
254254 inherited_only : true ,
255255 )
Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ def handle_super_node_hover(keyword_location)
446446 # we still push those
447447 unless @sorbet_level . true_or_higher?
448448 surrounding_method = @node_context . surrounding_method
449- handle_method_hover ( surrounding_method , inherited_only : true ) if surrounding_method
449+ handle_method_hover ( surrounding_method . name , inherited_only : true ) if surrounding_method
450450 end
451451
452452 handle_keyword_at_location ( keyword_location )
You can’t perform that action at this time.
0 commit comments