Skip to content

Remove assumptions about corresponding parameters#1350

Closed
jskeet wants to merge 2 commits intodotnet:draft-v8from
jskeet:issue-981
Closed

Remove assumptions about corresponding parameters#1350
jskeet wants to merge 2 commits intodotnet:draft-v8from
jskeet:issue-981

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 a team, BillWagner and Nigel-Ecma 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.

Co-authored-by: Bill Wagner <wiwagn@microsoft.com>
@jskeet
Copy link
Contributor Author

jskeet commented Sep 4, 2025

It looks like the text here has changed enough that it's possibly better to create a new PR. Will do so and get @BillWagner to review.

jskeet added a commit to jskeet/csharpstandard that referenced this pull request Sep 4, 2025
This replaces dotnet#1350. It's simpler due to dotnet#1359 centralizing the tie
between an argument and the corresponding parameter's type.

Fixes dotnet#981
jskeet added a commit to jskeet/csharpstandard that referenced this pull request Sep 4, 2025
This replaces dotnet#1350. It's simpler due to dotnet#1359 centralizing the tie
between an argument and the corresponding parameter's type.

Fixes dotnet#981
@jskeet
Copy link
Contributor Author

jskeet commented Sep 4, 2025

Closing in favor of #1407

@jskeet jskeet closed this Sep 4, 2025
jskeet added a commit that referenced this pull request Sep 4, 2025
This replaces #1350. It's simpler due to #1359 centralizing the tie
between an argument and the corresponding parameter's type.

Fixes #981
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