Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guess types for chained invocations #2637

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vinistock
Copy link
Member

Motivation

I noticed that guessed types were not being used on chain method invocations even when the last identifier is known. The reason is because we were only looking at the slice, but we need to get the message name if the receiver is another call node.

Implementation

Started checking if the receiver is a call node and then we take the message.

Automated Tests

Added a test.

@vinistock vinistock added bugfix This PR will fix an existing bug server This pull request should be included in the server gem's release notes labels Sep 30, 2024
@vinistock vinistock self-assigned this Sep 30, 2024
@vinistock vinistock requested a review from a team as a code owner September 30, 2024 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR will fix an existing bug server This pull request should be included in the server gem's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant