Skip to content

Commit

Permalink
value must be a set
Browse files Browse the repository at this point in the history
  • Loading branch information
soutaro committed Aug 8, 2024
1 parent 6f038bf commit 0373a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/steep/services/signature_help_provider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def signature_help_for(node, argument, last_argument, typing)
items << Item.new(subtyping.factory.method_type_1(overload.method_type), defn&.comment, active_parameter)

if call.is_a?(MethodCall::Typed)
if call.method_decls.intersect?(overload.method_decls(call.method_name))
if call.method_decls.intersect?(overload.method_decls(call.method_name).to_set)
index = i
end
end
Expand Down

0 comments on commit 0373a57

Please sign in to comment.