Skip to content

Use tuple name inference for Iterator.next et al - #59360

Merged
Ron Buckton (rbuckton) merged 2 commits into
mainfrom
iterator-next-args
Jul 19, 2024
Merged

Use tuple name inference for Iterator.next et al#59360
Ron Buckton (rbuckton) merged 2 commits into
mainfrom
iterator-next-args

Conversation

@rbuckton

Copy link
Copy Markdown
Contributor

This updates our definitions of Iterator, Generator, AsyncIterator, and AsyncGenerator to leverage the tuple name inference change from #59045, as requested in #58243 (comment)

@jakebailey

Copy link
Copy Markdown
Member

Hm, the thread there seems to imply that there should be some inferred named changed, but none show in the baselines?

@rbuckton

Copy link
Copy Markdown
ContributorAuthor

The change is primarily observed in quickinfo/signature help, as is shown in the tests in #59045.

@rbuckton

Copy link
Copy Markdown
ContributorAuthor

I can add a fourslash test to illustrate this

@rbuckton
Ron Buckton (rbuckton) deleted the iterator-next-args branch July 19, 2024 18:53
@microsoftMicrosoft (microsoft) locked as resolved and limited conversation to collaborators Oct 16, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: TeamFor Uncommitted BugPR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@rbuckton@jakebailey@sandersn@typescript-bot