-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
We need to be able to read method signatures to provide signature help in the Ruby LSP.
There's one interesting caveat to investigate. We don't eagerly resolve method aliases and their signatures are attached to the method they target. For example:
class Parent
def foo(a, b); end
end
class Child < Parent
alias_method :new_foo, :foo
endThe signature for new_foo should be [PositionalRequired(a), PositionalRequired(b)] coming from the original foo.
Investigate if we can resolve method aliases lazily to return signatures (and consider splitting the work into separate PRs if necessary).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.