Skip to content

Remove assumptions about corresponding parameters #1350

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

Open
wants to merge 2 commits into
base: draft-v8
Choose a base branch
from

Conversation

jskeet
Copy link
Contributor

@jskeet jskeet commented Jun 14, 2025

The corresponding parameter for a method argument with index i isn't necessarily i.

An alternative approach would be to effectively consider type inferrence from the perspective of a normalized argument list.

Fixes #981

The corresponding parameter for a method argument with index i isn't
necessarily i.

An alternative approach would be to effectively consider type
inferrence from the perspective of a normalized argument list.

Fixes dotnet#981
@jskeet jskeet requested review from BillWagner, Nigel-Ecma and a team June 14, 2025 07:14
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also LGTM @jskeet

I made one suggestion to make sure I understand your comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generic type inference assumes same number of arguments and parameters
3 participants