Skip to content

Conversation

@jakebailey
Copy link
Member

@jakebailey jakebailey commented Jun 29, 2022

This is a followup to #49707.

There are more places we don't pass contextFlags down; make the parameter required to make it harder to forget to pass it.

It seems to me that all of the cases where we add contextFlags to a call are bugs, but I haven't been able to think up any test cases to exhibit them. e.g., I would think that you could create a test somewhat like that in #49707 but where the inferred type is in a yield, but I'm not sure how.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Jun 29, 2022
@jakebailey jakebailey requested review from sandersn and weswigham July 6, 2022 21:53
@jakebailey jakebailey merged commit 59238db into microsoft:main Jul 6, 2022
@jakebailey jakebailey deleted the fix-44596-followup branch July 6, 2022 23:11
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants